Skip to content

Commit

Permalink
ci: fix dart not found
Browse files Browse the repository at this point in the history
  • Loading branch information
LichKing-2234 committed Jun 2, 2023
1 parent 642ff60 commit 5a8b6c7
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ jobs:
if: ${{ inputs.dry-run }}
run: |
release-it ${{ inputs.increment }} -d --ci
dart pub publish --dry-run
- name: Release
if: ${{ !inputs.dry-run }}
Expand All @@ -47,10 +46,10 @@ jobs:
git config --global user.name "${{ secrets.GIT_USERNAME }}"
release-it ${{ inputs.increment }} --ci --no.npm
- name: Publish Dart Package
- name: Publish
if: ${{ !inputs.dry-run }}
uses: k-paxian/dart-package-publisher@1.5
with:
accessToken: ${{ secrets.OAUTH_ACCESS_TOKEN }}
refreshToken: ${{ secrets.OAUTH_REFRESH_TOKEN }}
skipTests: true
dryRunOnly: ${{ inputs.dry-run }}

0 comments on commit 5a8b6c7

Please sign in to comment.