Skip to content

Commit

Permalink
ci(rp): various fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
nekowinston committed Jan 5, 2024
1 parent 7a6de50 commit 3f84f71
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ on:
type: boolean
force-release-theme-tag:
description: "The version to release catppuccin-vsc as"
default: ""
type: string
force-release-pack:
description: "Force a release of catppuccin-vsc-pack"
Expand All @@ -34,10 +35,10 @@ jobs:
id: release

outputs:
theme_release: ${{ github.event.inputs.force-release-theme == 'true' || steps.release.outputs['catppuccin-vsc--release_created'] }}
theme_tag: ${{ github.event.inputs.force-release-theme-tag == 'true' || steps.release.outputs['catppuccin-vsc--tag_name'] }}
pack_release: ${{ github.event.inputs.force-release-pack == 'true' || steps.release.outputs['catppuccin-vsc-pack--release_created'] }}
npm_release: ${{ github.event.inputs.force-release-npm == 'true' || steps.release.outputs['catppuccin-vscode--release_created'] }}
theme_release: ${{ github.event.inputs.force-release-theme == 'true' || steps.release.outputs['catppuccin-vsc--release_created'] == 'true' }}
theme_tag: ${{ github.event.inputs.force-release-theme-tag || steps.release.outputs['catppuccin-vsc--tag_name'] }}
pack_release: ${{ github.event.inputs.force-release-pack == 'true' || steps.release.outputs['catppuccin-vsc-pack--release_created'] == 'true' }}
npm_release: ${{ github.event.inputs.force-release-npm == 'true' || steps.release.outputs['catppuccin-vscode--release_created'] == 'true' }}

release-vscode:
permissions:
Expand Down Expand Up @@ -113,7 +114,7 @@ jobs:
continue-on-error: true
timeout-minutes: 10
run: |
npx ovsx publish --pat "${{ secrets.VS_MARKETPLACE_TOKEN }}" --packagePath ./catppuccin-vsc-pack.vsix
npx ovsx publish --pat "${{ secrets.OPEN_VSX_TOKEN }}" --packagePath ./catppuccin-vsc-pack.vsix
release-npm:
permissions:
Expand Down

0 comments on commit 3f84f71

Please sign in to comment.