Skip to content

Commit

Permalink
ci: disable if condition & add output debug values
Browse files Browse the repository at this point in the history
  • Loading branch information
Aidosmf committed Nov 28, 2023
1 parent 0d61345 commit 06ad383
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,11 +112,16 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GPR_TOKEN }}
NPM_TOKEN: ${{ secrets.NPMJS_TOKEN }}

- name: 📝 Debug Github Output
run: echo "The value of github is ${{ github }}"

- name: 📝 Debug Changeset Output
run: echo "The value of github is ${{ steps.changesets }}"

release-gpr:
name: release-gpr
needs: release-npm
# if: needs['release-npm'].steps.changesets.outputs.published == 'true'
runs-on: ubuntu-latest
# if: github.event.pull_request.merged == true && github.event.pull_request.head.ref == 'changeset-release/main'
strategy:
matrix:
node-version: ['18']
Expand All @@ -132,6 +137,9 @@ jobs:
with:
version: latest

- name: 📝 Debug needs Output
run: echo "The value of needs is ${{ needs }}"

- name: Remove existing .npmrc for NPM
run: rm -f "$HOME/.npmrc"

Expand Down

0 comments on commit 06ad383

Please sign in to comment.