Fix CI
This commit is contained in:
@@ -38,11 +38,12 @@ jobs:
|
|||||||
- name: Update dist
|
- name: Update dist
|
||||||
if: github.repository_owner == 'stephank' && github.ref == 'refs/heads/main'
|
if: github.repository_owner == 'stephank' && github.ref == 'refs/heads/main'
|
||||||
run: |
|
run: |
|
||||||
[[ "$(git status --porcelain)" != "" ]] || exit
|
if [[ "$(git status --porcelain)" != "" ]]; then
|
||||||
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
|
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
|
||||||
git config user.name "github-actions[bot]"
|
git config user.name "github-actions[bot]"
|
||||||
git commit -m 'Update dist' dist/yarn-plugin-nixify.js
|
git commit -m 'Update dist' dist/yarn-plugin-nixify.js
|
||||||
git push
|
git push
|
||||||
|
fi
|
||||||
|
|
||||||
- name: Install plugin
|
- name: Install plugin
|
||||||
run: yarn plugin import ./dist/yarn-plugin-nixify.js
|
run: yarn plugin import ./dist/yarn-plugin-nixify.js
|
||||||
|
|||||||
Reference in New Issue
Block a user