chore: Adjust pipeline
53228a19
3 file(s) · +5 −5
| 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}', github.ref_name)) || 'plan' }} --output-format=json --allow-dirty > 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 | 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 --allow-dirty ${{ matrix.dist_args }} > dist-manifest.json |
|
| 144 | 144 | echo "dist ran successfully" |
|
| 145 | 145 | - id: cargo-dist |
|
| 146 | 146 | name: Post-build |
|
| 31 | 31 | [profile.dist] |
|
| 32 | 32 | inherits = "release" |
|
| 33 | 33 | lto = "thin" |
|
| 34 | - | ||
| 35 | - | [workspace.metadata.dist] |
|
| 36 | - | allow-dirty = true |
| 1 | 1 | [workspace] |
|
| 2 | 2 | members = ["cargo:."] |
|
| 3 | 3 | ||
| 4 | + | [workspace.metadata.dist] |
|
| 5 | + | allow-dirty = ["ci"] |
|
| 6 | + | ||
| 4 | 7 | # Config for 'dist' |
|
| 5 | 8 | [dist] |
|
| 6 | 9 | # The preferred dist version to use in CI (Cargo.toml SemVer syntax) |