building-github-actions

how to make a github action matrix element conditional

非 Y 不嫁゛ 提交于 2021-02-18 12:54:34
问题 I have a workflow that uses 'strategy' = 'matrix' and a list of specific configurations to build. Link to Workflow YAML (also provided below) # # build-N-test-v2.1-Dev and build-N-test-v2.1-Release are neary # identical, but a few tests are commented out (to not needlessly stress CI system) # for v2.1-Dev builds # # NOTE: I've tried many tricks - none which seem to work - to get this working on one file with one # workflow and tests # https://github.community/t/what-is-the-correct-if

How to cache docker-compose build inside github-action

你离开我真会死。 提交于 2021-02-16 02:58:08
问题 Is there any way to cache docker-compose so that it will not build again and again? here is my action workflow file: name: Github Action on: push: branches: - staging jobs: test: runs-on: ubuntu-18.04 steps: - uses: actions/checkout@v1 - name: Bootstrap app on Ubuntu uses: actions/setup-node@v1 with: node-version: '12' - name: Install global packages run: npm install -g yarn prisma - name: Install project deps if: steps.cache-yarn.outputs.cache-hit != 'true' run: yarn - name: Build docker

How to cache docker-compose build inside github-action

风流意气都作罢 提交于 2021-02-16 02:51:00
问题 Is there any way to cache docker-compose so that it will not build again and again? here is my action workflow file: name: Github Action on: push: branches: - staging jobs: test: runs-on: ubuntu-18.04 steps: - uses: actions/checkout@v1 - name: Bootstrap app on Ubuntu uses: actions/setup-node@v1 with: node-version: '12' - name: Install global packages run: npm install -g yarn prisma - name: Install project deps if: steps.cache-yarn.outputs.cache-hit != 'true' run: yarn - name: Build docker

How to cache docker-compose build inside github-action

不羁的心 提交于 2021-02-16 02:49:40
问题 Is there any way to cache docker-compose so that it will not build again and again? here is my action workflow file: name: Github Action on: push: branches: - staging jobs: test: runs-on: ubuntu-18.04 steps: - uses: actions/checkout@v1 - name: Bootstrap app on Ubuntu uses: actions/setup-node@v1 with: node-version: '12' - name: Install global packages run: npm install -g yarn prisma - name: Install project deps if: steps.cache-yarn.outputs.cache-hit != 'true' run: yarn - name: Build docker

Why The Action Cannot Access Secrets?

纵饮孤独 提交于 2020-12-13 03:38:05
问题 I am trying to create a workflow to deploy Nuget packages to Github Package Repository using Github Actions. In this case, The repository is inside an organization I am the owner of that organization I have admin access to the repository The repository has secrets listed The commit is mine The commit is a direct commit to a branch But the action CANNOT access the secrets Below is the workflow I am trying to execute name: Build and Publish on: push: branches: - gh-packages jobs: build_and

Why The Action Cannot Access Secrets?

守給你的承諾、 提交于 2020-12-13 03:36:24
问题 I am trying to create a workflow to deploy Nuget packages to Github Package Repository using Github Actions. In this case, The repository is inside an organization I am the owner of that organization I have admin access to the repository The repository has secrets listed The commit is mine The commit is a direct commit to a branch But the action CANNOT access the secrets Below is the workflow I am trying to execute name: Build and Publish on: push: branches: - gh-packages jobs: build_and