Skip to content

Commit 6ba60eb

Browse files
committed
ci: give generation its own job ahead of the checks
1 parent bb9081a commit 6ba60eb

1 file changed

Lines changed: 8 additions & 9 deletions

File tree

‎.github/workflows/ci.yaml‎

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,7 @@ on:
1414
name: CI
1515

1616
jobs:
17-
# Generated once here and handed to the checks below, so they neither repeat
18-
# the generation nor disagree about what they are checking. The artifact name
19-
# carries the language because a spec run shares one namespace across SDKs.
20-
build:
17+
generate:
2118
runs-on: ubuntu-latest
2219
steps:
2320
- uses: actions/checkout@v7
@@ -39,13 +36,14 @@ jobs:
3936
4037
- run: ./generate.sh local
4138

42-
- uses: actions/upload-artifact@v5
39+
- uses: actions/upload-artifact@v7
4340
with:
4441
name: generated-dart
4542
path: .
43+
include-hidden-files: true
4644

4745
analyze:
48-
needs: build
46+
needs: generate
4947
runs-on: ubuntu-latest
5048
steps:
5149
- uses: actions/download-artifact@v8
@@ -54,13 +52,14 @@ jobs:
5452

5553
- uses: dart-lang/setup-dart@v1.8.0
5654

55+
- run: dart pub get
56+
working-directory: vrchat_dart_generated
57+
5758
- run: dart analyze
5859
working-directory: vrchat_dart_generated
5960

60-
# Mirrors pana.yml, which checks the committed packages; this checks the ones
61-
# a release would generate.
6261
pana:
63-
needs: build
62+
needs: generate
6463
runs-on: ubuntu-latest
6564
strategy:
6665
matrix:

0 commit comments

Comments
 (0)