From 2bc34b684744f4c9f712f6567a8371276f0488e5 Mon Sep 17 00:00:00 2001 From: Hraban Luyat Date: Sun, 14 Jul 2024 22:30:11 -0400 Subject: [PATCH] ci: WIP: release --- .github/workflows/ci.yml | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 83f71ad..f9d7043 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: