Skip to content

Commit

Permalink
disable sdkman/winget release, try hotfix choco release
Browse files Browse the repository at this point in the history
  • Loading branch information
WojciechMazur committed Dec 10, 2024
1 parent ad3f698 commit 2efc7bc
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 14 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/publish-chocolatey.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,7 @@ jobs:
with:
name: scala.nupkg
- name: Publish the package to Chocolatey
run: choco push scala.nupkg --source https://push.chocolatey.org/ --api-key ${{ secrets.API-KEY }}
run:
ls -R scala.nupkg
choco push scala.nupkg/scala.${{inputs.version}}.nupkg --source https://push.chocolatey.org/ --api-key ${{ secrets.API-KEY }}

26 changes: 13 additions & 13 deletions .github/workflows/releases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,20 +22,20 @@ on:

jobs:
# TODO: ADD JOB TO SWITCH THE GITHUB RELEASE FROM DRAFT TO LATEST
publish-sdkman:
uses: ./.github/workflows/publish-sdkman.yml
with:
version: ${{ inputs.version }}
secrets:
CONSUMER-KEY: ${{ secrets.SDKMAN_KEY }}
CONSUMER-TOKEN: ${{ secrets.SDKMAN_TOKEN }}
# publish-sdkman:
# uses: ./.github/workflows/publish-sdkman.yml
# with:
# version: ${{ inputs.version }}
# secrets:
# CONSUMER-KEY: ${{ secrets.SDKMAN_KEY }}
# CONSUMER-TOKEN: ${{ secrets.SDKMAN_TOKEN }}

publish-winget:
uses: ./.github/workflows/publish-winget.yml
with:
version: ${{ inputs.version }}
secrets:
DOTTYBOT-TOKEN: ${{ secrets.DOTTYBOT_WINGET_TOKEN }}
# publish-winget:
# uses: ./.github/workflows/publish-winget.yml
# with:
# version: ${{ inputs.version }}
# secrets:
# DOTTYBOT-TOKEN: ${{ secrets.DOTTYBOT_WINGET_TOKEN }}

compute-digest:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 2efc7bc

Please sign in to comment.