Skip to content

Commit c108a21

Browse files
authored
Don't fail the update-packages and windows-packages jobs on individual distributions' steps (#3288)
1 parent 4a240ac commit c108a21

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

.github/release/release-procedure.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
- [ ] Copy any fixes over to the draft after getting the PR reviewed and merged.
1616
- [ ] Mark the release draft as `pre-release` and then `Publish Release`
1717
- [ ] Wait for a green release CI build with all the updated versions.
18+
- [ ] Double check if none of the steps failed, including individual distribution channels in
19+
the `update-packages` and `windows-packages` jobs.
1820
- [ ] ScalaCLI Setup
1921
- [ ] Merge pull request with updated Scala CLI version
2022
in [scala-cli-setup](https://github.com/VirtusLab/scala-cli-setup) repository. Pull request should be opened

.github/workflows/ci.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1828,31 +1828,38 @@ jobs:
18281828
${{ secrets.HOMEBREW_SCALA_EXPERIMENTAL_KEY }}
18291829
${{ secrets.SCALA_CLI_SETUP_KEY }}
18301830
- run: ./mill -i ci.updateInstallationScript
1831+
continue-on-error: true
18311832
- run: ./mill -i ci.updateScalaCliBrewFormula
1833+
continue-on-error: true
18321834
- name: GPG setup
18331835
run: .github/scripts/gpg-setup.sh
18341836
env:
18351837
PGP_SECRET: ${{ secrets.PGP_SECRET }}
18361838
- run: ./mill -i ci.updateDebianPackages
1839+
continue-on-error: true
18371840
env:
18381841
PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }}
18391842
GPG_EMAIL: ${{ secrets.GPG_EMAIL }}
18401843
- run: ./mill -i ci.updateCentOsPackages
1844+
continue-on-error: true
18411845
env:
18421846
PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }}
18431847
KEYGRIP: ${{ secrets.KEYGRIP }}
18441848
PGP_SECRET: ${{ secrets.PGP_SECRET }}
18451849
GPG_EMAIL: ${{ secrets.GPG_EMAIL }}
18461850
- run: ./mill -i ci.updateStandaloneLauncher
1851+
continue-on-error: true
18471852
env:
18481853
UPLOAD_GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
18491854
- name: Publish to SDKMAN
1855+
continue-on-error: true
18501856
run: .github/scripts/publish-sdkman.sh
18511857
shell: bash
18521858
env:
18531859
SDKMAN_KEY: ${{ secrets.SDKMAN_KEY }}
18541860
SDKMAN_TOKEN: ${{ secrets.SDKMAN_TOKEN }}
18551861
- run: ./mill -i ci.updateScalaCliSetup
1862+
continue-on-error: true
18561863
- run: ./mill -i ci.updateScalaExperimentalBrewFormula
18571864

18581865
update-windows-packages:
@@ -1876,6 +1883,7 @@ jobs:
18761883
path: artifacts/
18771884
- name: Publish to chocolatey
18781885
run: ./mill -i ci.updateChocolateyPackage
1886+
continue-on-error: true
18791887
env:
18801888
CHOCO_SECRET: ${{ secrets.CHOCO_SECRET_KEY }}
18811889
- uses: vedantmgoyal9/winget-releaser@main

0 commit comments

Comments
 (0)