Skip to content

Commit 2e78c69

Browse files
committed
Remove static library from release
1 parent 7e54a1e commit 2e78c69

File tree

2 files changed

+9
-21
lines changed

2 files changed

+9
-21
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -19,33 +19,21 @@ jobs:
1919
uses: mlugg/setup-zig@v2
2020
with:
2121
version: 0.14.0
22-
- name: Build
23-
run: zig build install
24-
- name: Upload artifact
25-
uses: actions/upload-artifact@v4
26-
with:
27-
name: zig-library
28-
path: zig-out/lib/*
29-
#- name: Debug output paths
30-
#run: ls -R
22+
- name: Build and Test
23+
run: |
24+
zig build
25+
zig build test
3126
3227
release:
3328
needs: build
3429
runs-on: ubuntu-latest
3530
steps:
3631
- name: Checkout
3732
uses: actions/checkout@v4
38-
- name: Download build artifact
39-
uses: actions/download-artifact@v4
40-
with:
41-
name: zig-library
42-
path: zig-out/lib
4333
- name: Create GitHub Release
4434
uses: softprops/action-gh-release@v2
4535
with:
4636
tag_name: ${{ github.ref_name }}
47-
name: Release ${{ github.ref_name }}
48-
files: zig-out/lib/*
37+
name: Zenvars ${{ github.ref_name }}
4938
env:
5039
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
51-

build.zig

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ pub fn build(b: *std.Build) void {
1111
.optimize = optimize,
1212
});
1313

14-
b.installArtifact(b.addStaticLibrary(.{
15-
.name = "zenvars",
16-
.root_module = lib_mod,
17-
}));
14+
// b.installArtifact(b.addStaticLibrary(.{
15+
// .name = "zenvars",
16+
// .root_module = lib_mod,
17+
// }));
1818

1919
// Examples
2020
const exe_mod = b.createModule(.{

0 commit comments

Comments
 (0)