File tree Expand file tree Collapse file tree 3 files changed +7
-6
lines changed Expand file tree Collapse file tree 3 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 3535 with :
3636 name : scala.nupkg
3737 - name : Publish the package to Chocolatey
38- run : choco push scala.nupkg --source https://push.chocolatey.org/ --api-key ${{ secrets.API-KEY }}
39-
38+ run : choco push scala.${{inputs.version}}.nupkg --source https://push.chocolatey.org/ --api-key ${{ secrets.API-KEY }}
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ permissions:
2525
2626jobs :
2727 publish-sdkman :
28- runs-on : [self-hosted, Linux]
28+ runs-on : ubuntu-latest
2929 container :
3030 image : lampepfl/dotty:2021-03-22
3131 options : --cpu-shares 4096
Original file line number Diff line number Diff line change 2121
2222env :
2323 CHOCOLATEY-REPOSITORY : chocolatey-pkgs
24- DOTTY_CI_INSTALLATION : ${{ secrets.GITHUB_TOKEN }}
24+ # Controls behaviour of chocolatey{Install,Uninstall}.ps1 scripts
25+ # During snapshot releases it uses a different layout and requires access token to GH Actions artifacts
26+ # During stable releases it uses publically available archives
27+ DOTTY_CI_INSTALLATION : ${{ endsWith(inputs.version, '-SNAPSHOT') && secrets.GITHUB_TOKEN || '' }}
2528
2629jobs :
2730 test :
4750 - name : Test the `scaladoc` command
4851 run : scaladoc --version
4952 - name : Uninstall the `scala` package
50- run : choco uninstall scala
51-
53+ run : choco uninstall scala
You can’t perform that action at this time.
0 commit comments