Skip to content

Commit

Permalink
use new action to release
Browse files Browse the repository at this point in the history
  • Loading branch information
ZihengSun committed Feb 8, 2025
1 parent 5f3dd98 commit 67edfb6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ jobs:
-d '{"name": "${{ env.VERSION }}"}'
- name: Upload JAR Asset
uses: actions/upload-release-asset@v1
uses: actions/upload-gh-release@v2
with:
upload_url: ${{ env.UPLOAD_URL }}
asset_path: /home/runner/work/Geoweaver/Geoweaver/target/geoweaver.jar
Expand All @@ -237,7 +237,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Upload DEB Asset
uses: actions/upload-release-asset@v1
uses: actions/upload-gh-release@v2
with:
upload_url: ${{ env.UPLOAD_URL }}
asset_path: /home/runner/work/Geoweaver/Geoweaver/linux-deployment/geoweaver.deb
Expand All @@ -247,7 +247,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Upload .dmg file to Release
uses: actions/upload-release-asset@v1
uses: actions/upload-gh-release@v2
with:
upload_url: ${{ env.UPLOAD_URL }}
asset_path: Geoweaver.dmg
Expand All @@ -257,7 +257,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Upload Windows Installer to Release
uses: actions/upload-release-asset@v1
uses: actions/upload-gh-release@v2
with:
upload_url: ${{ env.UPLOAD_URL }}
asset_path: GeoweaverInstaller.exe
Expand Down

0 comments on commit 67edfb6

Please sign in to comment.