diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 215471ef..7da475f2 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -6,10 +6,18 @@ on: jobs: build: runs-on: ubuntu-latest + permissions: + contents: write steps: - uses: actions/checkout@v4.1.5 - uses: DeterminateSystems/nix-installer-action@v11 - uses: DeterminateSystems/magic-nix-cache-action@main - name: Build package run: nix build -L + - name: Release + uses: softprops/action-gh-release@v2.0.2 + if: startsWith(github.ref, 'refs/tags/') + with: + files: result/share/emacs/site-lisp/magit-file-icons.el + generate_release_notes: true