Skip to content

Commit d259ad4

Browse files
authored
Merge pull request #207 from rust-secure-code/fix-release-workflow
Bump Ubuntu version to hopefully fix release.yml workflow
2 parents a35a318 + 4c07d2a commit d259ad4

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ jobs:
157157
needs:
158158
- plan
159159
- build-local-artifacts
160-
runs-on: "ubuntu-20.04"
160+
runs-on: "ubuntu-22.04"
161161
env:
162162
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
163163
BUILD_MANIFEST_NAME: target/distrib/global-dist-manifest.json
@@ -204,7 +204,7 @@ jobs:
204204
if: ${{ always() && needs.plan.outputs.publishing == 'true' && (needs.build-global-artifacts.result == 'skipped' || needs.build-global-artifacts.result == 'success') && (needs.build-local-artifacts.result == 'skipped' || needs.build-local-artifacts.result == 'success') }}
205205
env:
206206
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
207-
runs-on: "ubuntu-20.04"
207+
runs-on: "ubuntu-22.04"
208208
outputs:
209209
val: ${{ steps.host.outputs.manifest }}
210210
steps:
@@ -244,7 +244,7 @@ jobs:
244244
# still allowing individual publish jobs to skip themselves (for prereleases).
245245
# "host" however must run to completion, no skipping allowed!
246246
if: ${{ always() && needs.host.result == 'success' }}
247-
runs-on: "ubuntu-20.04"
247+
runs-on: "ubuntu-22.04"
248248
env:
249249
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
250250
steps:

Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ targets = ["aarch64-apple-darwin", "x86_64-apple-darwin", "x86_64-unknown-linux-
2424
pr-run-mode = "plan"
2525
# Whether to install an updater program
2626
install-updater = false
27+
# Suppress dist failure because we bumped ubuntu-20.04 to ubuntu-22.04
28+
allow-dirty = ["ci"]
2729

2830
# The profile that 'cargo dist' will build with
2931
[profile.dist]

0 commit comments

Comments
 (0)