From 85c5a41ba9e8e4ed1bf2ec1e8d2d8a470c8055c6 Mon Sep 17 00:00:00 2001 From: Sebastian Date: Mon, 7 Feb 2022 14:34:45 +0100 Subject: [PATCH] Do not use args to speed up build. --- .github/workflows/dev.yml | 12 ++++++------ .github/workflows/marketplace-aws.yml | 2 +- .github/workflows/marketplace-azure.yml | 2 +- .github/workflows/marketplace-digitalocean.yml | 2 +- .github/workflows/marketplace-gcp.yml | 2 +- .github/workflows/marketplace-kubernetes.yml | 2 +- .github/workflows/marketplace-vultr.yml | 2 +- .github/workflows/release.yml | 6 +++--- 8 files changed, 15 insertions(+), 15 deletions(-) diff --git a/.github/workflows/dev.yml b/.github/workflows/dev.yml index 1bcd1e280..b9dbae322 100644 --- a/.github/workflows/dev.yml +++ b/.github/workflows/dev.yml @@ -15,18 +15,18 @@ jobs: build: runs-on: ubuntu-latest steps: - - name: Calculate Version - env: - BUILD_NUMBER: ${{ github.run_number }} - run: | - echo "BUILD_NUMBER=$(($BUILD_NUMBER + 5967))" >> $GITHUB_ENV - - name: Checkout uses: actions/checkout@v2 - name: Inject slug/short variables uses: rlespinasse/github-slug-action@v3.x + - name: Calculate Version + env: + BUILD_NUMBER: ${{ github.run_number }} + run: | + echo "BUILD_NUMBER=$(($BUILD_NUMBER + 5967))" >> $GITHUB_ENV + - name: Set up QEMU uses: docker/setup-qemu-action@v1 diff --git a/.github/workflows/marketplace-aws.yml b/.github/workflows/marketplace-aws.yml index 338f400dd..3e72eeb46 100644 --- a/.github/workflows/marketplace-aws.yml +++ b/.github/workflows/marketplace-aws.yml @@ -3,7 +3,7 @@ concurrency: marketplace-aws on: release: - types: [ released ] + types: [released] jobs: validate: diff --git a/.github/workflows/marketplace-azure.yml b/.github/workflows/marketplace-azure.yml index 1cefcc5c4..5a9427af4 100644 --- a/.github/workflows/marketplace-azure.yml +++ b/.github/workflows/marketplace-azure.yml @@ -3,7 +3,7 @@ concurrency: marketplace-azure on: release: - types: [ released ] + types: [released] # az ad sp create-for-rbac --name squidex diff --git a/.github/workflows/marketplace-digitalocean.yml b/.github/workflows/marketplace-digitalocean.yml index 39ee072cc..2cd57652b 100644 --- a/.github/workflows/marketplace-digitalocean.yml +++ b/.github/workflows/marketplace-digitalocean.yml @@ -3,7 +3,7 @@ concurrency: marketplace-digitalocean on: release: - types: [ released ] + types: [released] jobs: validate: diff --git a/.github/workflows/marketplace-gcp.yml b/.github/workflows/marketplace-gcp.yml index 43fac4078..701385180 100644 --- a/.github/workflows/marketplace-gcp.yml +++ b/.github/workflows/marketplace-gcp.yml @@ -3,7 +3,7 @@ concurrency: marketplace-gcp on: release: - types: [ released ] + types: [released] jobs: validate: diff --git a/.github/workflows/marketplace-kubernetes.yml b/.github/workflows/marketplace-kubernetes.yml index 5a69fb164..a8cb60240 100644 --- a/.github/workflows/marketplace-kubernetes.yml +++ b/.github/workflows/marketplace-kubernetes.yml @@ -3,7 +3,7 @@ concurrency: marketplace-kubernetes on: release: - types: [ released ] + types: [released] jobs: validate: diff --git a/.github/workflows/marketplace-vultr.yml b/.github/workflows/marketplace-vultr.yml index 13be51819..b44760891 100644 --- a/.github/workflows/marketplace-vultr.yml +++ b/.github/workflows/marketplace-vultr.yml @@ -3,7 +3,7 @@ concurrency: marketplace-vultr on: release: - types: [ released ] + types: [released] jobs: validate: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 48746cda2..71611616a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -4,7 +4,7 @@ concurrency: release on: push: tags: - - '*' + - "*" jobs: build: @@ -116,8 +116,8 @@ jobs: id: version uses: rishabhgupta/split-by@v1 with: - string: '${{ env.GITHUB_REF_SLUG }}' - split-by: '.' + string: "${{ env.GITHUB_REF_SLUG }}" + split-by: "." - name: Get Image From Cache uses: actions/cache@v2