Skip to content

Commit

Permalink
Fix exporting PUB_TOKEN
Browse files Browse the repository at this point in the history
  • Loading branch information
eseidel committed Jul 25, 2024
1 parent aeb7cfb commit 66d6638
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/actions/publish_flutter_package/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,8 @@ runs:
uses: actions/github-script@v6
with:
script: |
const core_mod = require('@actions/core')
let pub_token = await core_mod.getIDToken('https://pub.dev/')
core_mod.setOutput('PUB_TOKEN', pub_token)
let pub_token = await core.getIDToken('https://pub.dev/')
core.exportVariable('PUB_TOKEN', pub_token)
- name: 📢 Authenticate
shell: ${{ inputs.shell }}
Expand Down

0 comments on commit 66d6638

Please sign in to comment.