fix(CI): workflow updates (#6439)

This commit is contained in:
Patrick Lewis
2021-06-20 04:09:42 -07:00
committed by GitHub
parent ff5e4570dc
commit 6be8fa2c73
6 changed files with 21 additions and 15 deletions

View File

@@ -7,14 +7,16 @@ on:
types: ['labeled']
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref }}
group: ${{ github.head_ref }} || concat(${{ github.ref }}, ${{ github.workflow }})
cancel-in-progress: true
jobs:
docker-build-n-deploy:
strategy:
fail-fast: true
runs-on: ubuntu-20.04
matrix:
os: [ubuntu-20.04]
runs-on: ${{ matrix.os }}
if: github.repository == 'azerothcore/azerothcore-wotlk' && ${{ github.event.label.name == 'run-build' }}
env:
COMPOSE_DOCKER_CLI_BUILD: 1
@@ -76,10 +78,10 @@ jobs:
uses: actions/cache@v2
with:
path: var/docker/ccache
key: ccache:ubuntu-20.04:clang:without-modules:${{ github.ref }}:${{ github.sha }}
key: ccache:${{ matrix.os }}:clang:without-modules:${{ github.ref }}:${{ github.sha }}
restore-keys: |
ccache:ubuntu-20.04:clang:without-modules:${{ github.ref }}
ccache:ubuntu-20.04:clang:without-modules
ccache:${{ matrix.os }}:clang:without-modules:${{ github.ref }}
ccache:${{ matrix.os }}:clang:without-modules
- name: Build Production images
env: