Skip to content

Commit

Permalink
Clean up the action
Browse files Browse the repository at this point in the history
  • Loading branch information
Rexios80 committed Oct 8, 2024
1 parent 44e3b47 commit dfad1f3
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/pana.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ jobs:
strategy:
matrix:
package: [vrchat_dart, vrchat_dart_generated]
defaults:
run:
working-directory: ${{ matrix.package }}
steps:
- uses: actions/checkout@v4
- uses: subosito/flutter-action@v2
Expand All @@ -23,15 +26,16 @@ jobs:
- name: Pub cache
uses: actions/cache@v4
env:
cache-name: pub-cache
cache-name: ${{ matrix.package }}
with:
path: ${{ env.PUB_CACHE }}
key: ${{ env.cache-name }}-${{ hashFiles('**/pubspec.lock') }}
restore-keys: ${{ env.cache-name }}-
- name: Pub get
run: dart pub get
- name: Publish dry run
run: dart pub publish --dry-run
- name: Run pana
run: |
cd ${{ matrix.package }}
dart pub get
dart pub publish --dry-run
dart pub global activate pana
pana --no-warning --exit-code-threshold 0

0 comments on commit dfad1f3

Please sign in to comment.