Skip to content

Commit

Permalink
Merge pull request #13 from toobuntu/actions/release-update
Browse files Browse the repository at this point in the history
fix: use GitHub App token for triggering
  • Loading branch information
PikachuEXE authored Mar 25, 2024
2 parents e3f0e3b + d427013 commit ff5e86f
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/release-manual-trigger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -201,14 +201,23 @@ jobs:
# Document use of default destination path
path: ${{ github.workspace }}

- name: Get Token
id: get_workflow_token
uses: peter-murray/workflow-application-token-action@v3
with:
application_id: ${{ secrets.APPLICATION_ID }}
application_private_key: ${{ secrets.APPLICATION_PRIVATE_KEY }}
revoke_token: true
permissions: "contents:write, metadata:read"

- name: Create Release and Upload Artifact
id: gh-release
uses: softprops/action-gh-release@v2
with:
files: |
${{ github.workspace }}/freetube-${{ env.PACKAGE_VERSION }}-mac-arm64.dmg
fail_on_unmatched_files: true
token: "${{ secrets.GITHUB_TOKEN }}"
token: "${{ steps.get_workflow_token.outputs.token }}"
tag_name: "${{ github.event.inputs.tag_name }}"
name: "${{ needs.get-release-info.outputs.name }}"
# body: "Release for Apple Silicon Homebrew Tap."
Expand Down

0 comments on commit ff5e86f

Please sign in to comment.