mirror of
https://github.com/iconoir-icons/iconoir
synced 2024-05-10 02:16:41 +02:00
ci: checkout master or pnpm fails
This commit is contained in:
parent
1c4f644eb9
commit
f904e08906
3
.github/workflows/release.yaml
vendored
3
.github/workflows/release.yaml
vendored
|
@ -11,6 +11,8 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
ref: master # We have to checkout master or PNPM fails. Tag should be on master anyway.
|
||||
- uses: actions/cache@v2
|
||||
with:
|
||||
path: ~/.pnpm-store
|
||||
|
@ -35,7 +37,6 @@ jobs:
|
|||
branch: master
|
||||
- run: git -c user.email="actions@github.com" -c user.name="GitHub Actions" tag -fa ${{ github.ref_name }} -m "${{ github.ref_name }}"
|
||||
- run: git push -f origin ${{ github.ref_name }}
|
||||
- run: git checkout master
|
||||
- run: pnpm -r publish --filter ./packages --access public
|
||||
env:
|
||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||
|
|
Loading…
Reference in a new issue