Skip to content

Commit

Permalink
[skip ci] Fix workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
WojciechMazur committed Dec 10, 2024
1 parent 2efc7bc commit 7e2e381
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/publish-chocolatey.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,10 @@ jobs:
uses: actions/download-artifact@v4
with:
name: scala.nupkg
- name: List files recursively
shell: bash
run: ls -R scala.nupkg
- name: Publish the package to Chocolatey
run:
ls -R scala.nupkg
choco push scala.nupkg/scala.${{inputs.version}}.nupkg --source https://push.chocolatey.org/ --api-key ${{ secrets.API-KEY }}

2 changes: 1 addition & 1 deletion .github/workflows/releases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:
java-version: 8
publish-chocolatey:
uses: ./.github/workflows/publish-chocolatey.yml
needs: [ build-chocolatey, test-chocolatey ]
needs: [ build-chocolatey]
with:
version: ${{ inputs.version }}
secrets:
Expand Down

0 comments on commit 7e2e381

Please sign in to comment.