From 55a262472589603db6ea9a24ee973bff25335ee7 Mon Sep 17 00:00:00 2001 From: Lasse Alm Date: Fri, 25 Oct 2024 21:54:32 +0200 Subject: [PATCH] rename --- .github/workflows/release.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index ef53180683..c6321e5215 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -178,7 +178,7 @@ jobs: database-exporter: needs: [validate-preconditions] runs-on: ubuntu-latest - if: github.job == 'database-exporter' + if: contains(fromJSON('["rc", "alpha", "database-exporter"]'), needs.validate-preconditions.outputs.release_type) environment: release steps: - name: Test @@ -229,7 +229,7 @@ jobs: p2p-bootstrapper: runs-on: ubuntu-latest environment: release - if: contains(fromJSON(format('["rc", "alpha", "{0}"]', github.job)), needs.validate-preconditions.outputs.release_type) + if: contains(fromJSON('["rc", "alpha", "p2p-bootstrapper"]'), needs.validate-preconditions.outputs.release_type) needs: [build-static-binaries, validate-preconditions] steps: - name: Download artifact @@ -294,7 +294,7 @@ jobs: node-windows: runs-on: windows-latest needs: [validate-preconditions] - if: contains(fromJSON(format('["rc", "alpha", "{0}"]', github.job)), needs.validate-preconditions.outputs.release_type) + if: contains(fromJSON('["rc", "alpha", "node-windows"]'), needs.validate-preconditions.outputs.release_type) environment: release defaults: run: @@ -377,7 +377,7 @@ jobs: node-macos: runs-on: macos-latest-large needs: [validate-preconditions] - if: contains(fromJSON(format('["rc", "alpha", "{0}"]', github.job)), needs.validate-preconditions.outputs.release_type) + if: contains(fromJSON('["rc", "alpha", "node-macos"]'), needs.validate-preconditions.outputs.release_type) environment: release steps: - name: Checkout Repository @@ -485,7 +485,7 @@ jobs: node-linux: runs-on: ubuntu-latest environment: release - if: contains(fromJSON(format('["rc", "alpha", "{0}"]', github.job)), needs.validate-preconditions.outputs.release_type) + if: contains(fromJSON('["rc", "alpha", "node-linux"]'), needs.validate-preconditions.outputs.release_type) needs: [ build-static-binaries, validate-preconditions, generate-matrix ] env: DATA_DIR: './scripts/distribution/ubuntu-packages/template/data' @@ -576,7 +576,7 @@ jobs: docker: runs-on: ubuntu-latest environment: release - if: contains(fromJSON(format('["rc", "alpha", "{0}"]', github.job)), needs.validate-preconditions.outputs.release_type) + if: contains(fromJSON('["rc", "alpha", "docker"]'), needs.validate-preconditions.outputs.release_type) needs: [ build-static-binaries, validate-preconditions, generate-matrix ] strategy: matrix: