Skip to content

Commit

Permalink
chore: ci: fix path issue (#108)
Browse files Browse the repository at this point in the history
  • Loading branch information
RebeccaStevens authored Feb 22, 2023
1 parent 76ab232 commit 631078c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ jobs:
- run: echo "COVERAGE_CHANGED=$(git status --porcelain -u | grep -c docs/coverage.svg)" >> $GITHUB_ENV

- if: ${{ env.COVERAGE_CHANGED != '0' }}
uses: ./.github/actions/unprotect-main/action.yml
uses: ./.github/actions/unprotect-main

- if: ${{ env.COVERAGE_CHANGED != '0' }}
run: |
Expand All @@ -82,4 +82,4 @@ jobs:
git push
- if: ${{ always() && env.COVERAGE_CHANGED != '0' }}
uses: ./.github/actions/protect-main/action.yml
uses: ./.github/actions/protect-main
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@ jobs:
- env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npm config set //registry.npmjs.org/:_authToken $NPM_TOKEN
- uses: ./.github/actions/unprotect-main/action.yml
- uses: ./.github/actions/unprotect-main
- run: echo "SHOULD_RELEASE=$(pnpm run should-semantic-release &> /dev/null && echo '1' || echo '0')"
- if: ${{ env.SHOULD_RELEASE != '0' }}
env:
GITHUB_TOKEN: ${{ github.token }}
run: pnpm release-it --verbose
- if: always()
uses: ./.github/actions/protect-main/action.yml
uses: ./.github/actions/protect-main
- if: ${{ env.SHOULD_RELEASE != '0' }}
uses: ./.github/workflows/release-docs.yml@main

0 comments on commit 631078c

Please sign in to comment.