Skip to content

Commit

Permalink
simplify id token setup
Browse files Browse the repository at this point in the history
  • Loading branch information
eseidel committed Jul 25, 2024
1 parent 66d6638 commit eee7a19
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/actions/publish_flutter_package/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,6 @@ runs:
- name: 🐦 Setup Flutter
uses: subosito/flutter-action@v2

- name: ☎️ Install OIDC Client from Core Package
shell: ${{ inputs.shell }}
run: npm install @actions/core@1.6.0 @actions/http-client

- name: 🪪 Get Id Token
uses: actions/github-script@v6
with:
Expand All @@ -33,10 +29,12 @@ runs:
shell: ${{ inputs.shell }}
run: flutter pub get
working-directory: ${{ inputs.working-directory }}

- name: 🌵 Dry Run
shell: ${{ inputs.shell }}
run: flutter pub publish --dry-run
working-directory: ${{ inputs.working-directory }}

- name: 📢 Publish
shell: ${{ inputs.shell }}
run: flutter pub publish -f
Expand Down

0 comments on commit eee7a19

Please sign in to comment.