Skip to content

Commit

Permalink
ci: WIP: release
Browse files Browse the repository at this point in the history
  • Loading branch information
hraban committed Jul 15, 2024
1 parent f169ea9 commit 2bc34b6
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,12 @@ on:
push:
pull_request:

permissions:
# To create a new release
contents: write

jobs:
nix:
build:
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -36,6 +40,18 @@ jobs:
name: git-hly-${{ matrix.os.name }}-${{ github.sha }}
path: result/bin/git-hly

release:
if: github.ref == "refs/heads/master"
needs:
- build
runs-on: ubuntu-latest
steps:
- uses: actions/download-artifact@v4
- run: |
pwd
ls -R
tree
nocommit:
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit 2bc34b6

Please sign in to comment.