Skip to content

Commit

Permalink
Update release_workflow.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ZihengSun committed Mar 9, 2024
1 parent 75f7a19 commit 39e72ba
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 @@ -199,7 +199,7 @@ jobs:
- name: Set release title to version
run: |
curl -X PATCH \
-H "Authorization: token ${{ secrets.PAT }}" \
-H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
-H "Accept: application/vnd.github.v3+json" \
https://api.github.com/repos/${{ github.repository }}/releases/${{ env.RELEASE_ID }} \
-d '{"name": "${{ env.VERSION }}"}'
Expand All @@ -212,7 +212,7 @@ jobs:
asset_name: geoweaver.jar
asset_content_type: application/java-archive
env:
GITHUB_TOKEN: ${{ secrets.PAT }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Upload DEB Asset
uses: actions/upload-release-asset@v1
Expand All @@ -222,7 +222,7 @@ jobs:
asset_name: geoweaver.deb
asset_content_type: application/vnd.debian.binary-package
env:
GITHUB_TOKEN: ${{ secrets.PAT }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Upload .dmg file to Release
uses: actions/upload-release-asset@v1
Expand All @@ -242,4 +242,4 @@ jobs:
asset_name: GeoweaverInstaller.exe
asset_content_type: application/vnd.microsoft.portable-executable
env:
GITHUB_TOKEN: ${{ secrets.PAT }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 39e72ba

Please sign in to comment.