diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 83f71ad..b7a8eca 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,8 +4,12 @@ on: push: pull_request: +permissions: + # To create a new release + contents: write + jobs: - nix: + build: strategy: fail-fast: false matrix: @@ -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: