您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

lesspass-pure-publish.yml 722 B

2 年前
1234567891011121314151617181920212223242526
  1. name: lesspass-pure-publish
  2. on:
  3. workflow_run:
  4. workflows:
  5. - "lesspass-pure-test"
  6. branches:
  7. - main
  8. types:
  9. - completed
  10. jobs:
  11. publish:
  12. if: ${{ github.event.workflow_run.conclusion == 'success' }}
  13. runs-on: ubuntu-18.04
  14. steps:
  15. - uses: actions/checkout@v2
  16. - uses: actions/setup-node@v2
  17. with:
  18. node-version: "14"
  19. registry-url: "https://registry.npmjs.org"
  20. - run: yarn install
  21. - run: yarn workspace lesspass-crypto build
  22. - run: yarn workspace lesspass-pure build
  23. - run: yarn workspace lesspass-pure publish --non-interactive
  24. continue-on-error: true
  25. env:
  26. NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}