Skip to content

Commit

Permalink
Fix packaging action
Browse files Browse the repository at this point in the history
  • Loading branch information
pka committed Mar 11, 2024
1 parent 06b1b4c commit b4b4113
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,8 @@ jobs:
name: Package ${{ matrix.target }}
needs: [test]
if: startsWith(github.ref, 'refs/tags/')
permissions:
contents: write
strategy:
fail-fast: false
matrix:
Expand All @@ -148,6 +150,7 @@ jobs:
name: bbox-server-Darwin-aarch64.tar.gz
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/download-artifact@v3
with:
name: build-${{ matrix.target }}
Expand All @@ -171,10 +174,8 @@ jobs:
if: matrix.target == 'x86_64-apple-darwin' || matrix.target == 'aarch64-apple-darwin'
run: shasum -a 256 ${{ matrix.name }}
- name: Publish
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
with:
draft: true
files: 'bbox-server*'
files: ${{ matrix.name }}
body_path: CHANGELOG.md
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit b4b4113

Please sign in to comment.