Skip to content

Commit

Permalink
Use action-gh-release
Browse files Browse the repository at this point in the history
  • Loading branch information
makenowjust committed Jan 4, 2023
1 parent d500e83 commit d550346
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,38 @@ jobs:
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

release:
needs: [maven-release, npm-release]
if: startsWith(github.ref, 'refs/tags/')
runs-on: ubuntu-latest
name: Publish GitHub Release
steps:
- uses: actions/checkout@v3
- uses: actions/download-artifact@v3
with:
name: recheck.jar
path: packages/recheck-jar/
- uses: actions/download-artifact@v3
with:
name: recheck-darwin-x64
path: packages/recheck-macos-x64/
- uses: actions/download-artifact@v3
with:
name: recheck-linux-x64
path: packages/recheck-linux-x64/
- uses: actions/download-artifact@v3
with:
name: recheck-win32-x64.exe
path: packages/recheck-windows-x64/
- name: Release
uses: softprops/action-gh-release@v1
with:
files: |
recheck.jar
recheck-darwin-x64
recheck-linux-x64
recheck-win32-x64.exe
gh-pages:
needs: [build]
if: github.ref_name == 'main'
Expand Down

0 comments on commit d550346

Please sign in to comment.