Skip to content

Commit 3222fec

Browse files
committed
ci: WIP: release
1 parent 34e8251 commit 3222fec

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

.github/workflows/ci.yml

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,12 @@ on:
44
push:
55
pull_request:
66

7+
permissions:
8+
# To create a new release
9+
contents: write
10+
711
jobs:
8-
nix:
12+
build:
913
strategy:
1014
fail-fast: false
1115
matrix:
@@ -36,6 +40,18 @@ jobs:
3640
name: git-hly-${{ matrix.os.name }}-${{ github.sha }}
3741
path: result/bin/git-hly
3842

43+
release:
44+
if: "github.ref == 'refs/heads/master'"
45+
needs:
46+
- build
47+
runs-on: ubuntu-latest
48+
steps:
49+
- uses: actions/download-artifact@v4
50+
- run: |
51+
pwd
52+
ls -R
53+
tree
54+
3955
nocommit:
4056
runs-on: ubuntu-latest
4157
steps:

0 commit comments

Comments
 (0)