Skip to content

Commit abdcb5a

Browse files
committed
Fix test-chocolatey and publish-chocolatey CI jobs
1 parent c33db50 commit abdcb5a

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.github/workflows/publish-chocolatey.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,5 @@ jobs:
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:
39+
choco push scala.${{inputs.version}}.nupkg --source https://push.chocolatey.org/ --api-key ${{ secrets.API-KEY }}

.github/workflows/test-chocolatey.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
- name: Download the 'nupkg' from GitHub Artifacts
3535
uses: actions/download-artifact@v4
3636
with:
37-
name: scala.nupkg
37+
name: scala.${{inputs.version}}.nupkg
3838
path: ${{ env.CHOCOLATEY-REPOSITORY }}
3939
- name : Install the `scala` package with Chocolatey
4040
run : choco install scala --source "${{ env.CHOCOLATEY-REPOSITORY }}" --pre # --pre since we might be testing non-stable releases
@@ -48,4 +48,3 @@ jobs:
4848
run : scaladoc --version
4949
- name : Uninstall the `scala` package
5050
run : choco uninstall scala
51-

0 commit comments

Comments
 (0)