From d95a8f58c83487cdbd18ceb4020c11d97bedc198 Mon Sep 17 00:00:00 2001 From: Kenneth Lausdahl Date: Thu, 14 Mar 2024 16:36:45 +0100 Subject: [PATCH] updated env --- .github/workflows/maven.yml | 4 ++-- .github/workflows/release.yml | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 826ce85a..f10045df 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -30,7 +30,7 @@ jobs: strategy: fail-fast: false matrix: - os: [ env.UBUNTU_VERSION , windows-2019, macos-latest ] + os: [ ${{ env.UBUNTU_VERSION }} , windows-2019, macos-latest ] steps: @@ -134,7 +134,7 @@ jobs: deploy: needs: build - runs-on: env.UBUNTU_VERSION + runs-on: ${{ env.UBUNTU_VERSION }} steps: - uses: actions/checkout@v2 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 54c3db02..ba7b1c47 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -110,7 +110,7 @@ jobs: strategy: fail-fast: false matrix: - os: [ env.UBUNTU_VERSION, windows-2019, macos-latest ] # ubuntu-latest, , macos-latest + os: [ ${{ env.UBUNTU_VERSION }}, windows-2019, macos-latest ] # ubuntu-latest, , macos-latest platform: [ x64 ] #x32, x64 ] exclude: - os: macos-latest @@ -185,7 +185,7 @@ jobs: final: name: Build and Deploy Combined Release - runs-on: env.UBUNTU_VERSION + runs-on: ${{ env.UBUNTU_VERSION }} needs: [ version_change , build ] steps: @@ -345,7 +345,7 @@ jobs: rollback: name: Rollback on error - runs-on: env.UBUNTU_VERSION + runs-on: ${{ env.UBUNTU_VERSION }} needs: [ version_change , build, final ] if: always() && (needs.version_change.result == 'failure' || needs.build.result == 'failure' || needs.final.result == 'failure') @@ -364,7 +364,7 @@ jobs: cleanup: name: Update development and master with new release - runs-on: env.UBUNTU_VERSION + runs-on: ${{ env.UBUNTU_VERSION }} needs: [ final,version_change ] steps: