We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f6c22e9 commit b8c9edeCopy full SHA for b8c9ede
.github/workflows/ci.yml
@@ -4,6 +4,8 @@ on:
4
push:
5
branches:
6
- main
7
+ tags:
8
+ - 'v*'
9
pull_request:
10
11
jobs:
@@ -32,3 +34,23 @@ jobs:
32
34
path: zig-out/bin/*
33
35
if-no-files-found: error
36
compression-level: 6
37
+
38
+ release:
39
+ needs: build
40
+ if: startsWith(github.ref, 'refs/tags/')
41
+ runs-on: ubuntu-latest
42
+ permissions:
43
+ contents: write
44
+ steps:
45
+ - name: Download artifact
46
+ uses: actions/download-artifact@v4
47
+ with:
48
+ name: lifetch
49
+ path: lifetch-bin
50
51
+ - name: Create Release
52
+ uses: elgohr/Github-Release-Action@v5
53
+ env:
54
+ GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
55
56
+ title: Release ${{ github.ref_name }}
0 commit comments