Questions tagged «github»

GitHub是基于Web的托管服务,用于使用Git进行版本控制的软件开发项目。使用此标记可以解决有关托管在GitHub上的存储库问题,特定于GitHub的功能以及使用GitHub与其他用户协作的问题。不要仅仅因为存储库恰好托管在GitHub上,而将此标签用于与Git相关的问题。

1
工作流之间对Github动作的依赖性
我有一个带有两个工作流程的monorepo: .github/workflows/test.yml name: test on: [push, pull_request] jobs: test-packages: runs-on: ubuntu-latest steps: - uses: actions/checkout@v1 - name: test packages run: | yarn install yarn test ... .github/workflows/deploy.yml deploy-packages: runs-on: ubuntu-latest needs: test-packages steps: - uses: actions/checkout@v1 - name: deploy packages run: | yarn deploy env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} ... …

By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.