|
47 | 47 | jobs: |
48 | 48 | # Run 'dist plan' (or host) to determine what tasks we need to do |
49 | 49 | plan: |
50 | | - runs-on: "ubuntu-20.04" |
| 50 | + runs-on: "ubuntu-latest" |
51 | 51 | outputs: |
52 | 52 | val: ${{ steps.plan.outputs.manifest }} |
53 | 53 | tag: ${{ !github.event.pull_request && github.ref_name || '' }} |
|
76 | 76 | # but also really annoying to build CI around when it needs secrets to work right.) |
77 | 77 | - id: plan |
78 | 78 | run: | |
79 | | - dist ${{ (!github.event.pull_request && format('host --steps=create --tag={0}', github.ref_name)) || 'plan' }} --output-format=json > plan-dist-manifest.json |
| 79 | + dist ${{ (!github.event.pull_request && format('host --steps=create --tag={0} --allow-dirty', github.ref_name)) || 'plan' }} --output-format=json > plan-dist-manifest.json |
80 | 80 | echo "dist ran successfully" |
81 | 81 | cat plan-dist-manifest.json |
82 | 82 | echo "manifest=$(jq -c "." plan-dist-manifest.json)" >> "$GITHUB_OUTPUT" |
@@ -140,7 +140,7 @@ jobs: |
140 | 140 | - name: Build artifacts |
141 | 141 | run: | |
142 | 142 | # Actually do builds and make zips and whatnot |
143 | | - dist build ${{ needs.plan.outputs.tag-flag }} --print=linkage --output-format=json ${{ matrix.dist_args }} > dist-manifest.json |
| 143 | + dist build ${{ needs.plan.outputs.tag-flag }} --print=linkage --output-format=json ${{ matrix.dist_args }} --allow-dirty > dist-manifest.json |
144 | 144 | echo "dist ran successfully" |
145 | 145 | - id: cargo-dist |
146 | 146 | name: Post-build |
@@ -192,7 +192,7 @@ jobs: |
192 | 192 | - id: cargo-dist |
193 | 193 | shell: bash |
194 | 194 | run: | |
195 | | - dist build ${{ needs.plan.outputs.tag-flag }} --output-format=json "--artifacts=global" > dist-manifest.json |
| 195 | + dist build ${{ needs.plan.outputs.tag-flag }} --output-format=json "--artifacts=global" --allow-dirty > dist-manifest.json |
196 | 196 | echo "dist ran successfully" |
197 | 197 |
|
198 | 198 | # Parse out what we just built and upload it to scratch storage |
@@ -241,7 +241,7 @@ jobs: |
241 | 241 | - id: host |
242 | 242 | shell: bash |
243 | 243 | run: | |
244 | | - dist host ${{ needs.plan.outputs.tag-flag }} --steps=upload --steps=release --output-format=json > dist-manifest.json |
| 244 | + dist host ${{ needs.plan.outputs.tag-flag }} --steps=upload --steps=release --output-format=json --allow-dirty > dist-manifest.json |
245 | 245 | echo "artifacts uploaded and released successfully" |
246 | 246 | cat dist-manifest.json |
247 | 247 | echo "manifest=$(jq -c "." dist-manifest.json)" >> "$GITHUB_OUTPUT" |
|
0 commit comments