Skip to content

Commit

Permalink
new release process
Browse files Browse the repository at this point in the history
  • Loading branch information
tjulien authored Oct 6, 2023
1 parent 213ee5a commit 40356d4
Showing 1 changed file with 11 additions and 13 deletions.
24 changes: 11 additions & 13 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,18 @@ on:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# token from https://dart.dev/tools/pub/automated-publishing
jobs:
publishing:
permissions:
id-token: write # Required for authentication using OIDC
runs-on: ubuntu-latest
steps:
- name: 'Checkout'
uses: actions/checkout@v2

- name: '>> Dart package <<'
uses: k-paxian/dart-package-publisher@master
#uses: sakebook/[email protected]
with:
#credential: ${{ secrets.FLUTTER_CREDENTIAL_JSON }}
#flutter_package: false
#skip_test: true
flutter: false
skipTests: true
credentialJson: ${{ secrets.FLUTTER_CREDENTIAL_JSON }}
- uses: actions/checkout@v3
- uses: dart-lang/setup-dart@v1
- name: Install dependencies
run: dart pub get
# Here you can insert custom steps you need
# - run: dart tool/generate-code.dart
- name: Publish
run: dart pub publish --force

0 comments on commit 40356d4

Please sign in to comment.