Skip to content

Commit

Permalink
ci: fix publish-release action
Browse files Browse the repository at this point in the history
  • Loading branch information
tensor5 committed Aug 29, 2024
1 parent def50eb commit bde44c6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,10 @@ jobs:
LICENSE_KEY: ${{ secrets.GEOIP_LICENSE_KEY }}
- name: Generate ZIP files for ${{ matrix.target.os }} ${{ matrix.target.arch }}
run: ./scripts/create-zips.sh ${{ matrix.target.os }} ${{ matrix.target.arch }}
shell: bash
- uses: actions/upload-artifact@v4
with:
name: ${{ matrix.target.os }}-${{ matrix.target.arch }}
path: "*.zip"
publish:
needs: build
Expand All @@ -50,7 +52,7 @@ jobs:
- uses: ncipollo/release-action@v1
with:
allowUpdates: true
artifacts: "*.zip"
artifacts: "*/*.zip"
omitBodyDuringUpdate: true
omitNameDuringUpdate: true
token: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit bde44c6

Please sign in to comment.