Skip to content

Commit

Permalink
updated env
Browse files Browse the repository at this point in the history
  • Loading branch information
lausdahl committed Mar 14, 2024
1 parent 8fba6c5 commit d95a8f5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down Expand Up @@ -134,7 +134,7 @@ jobs:

deploy:
needs: build
runs-on: env.UBUNTU_VERSION
runs-on: ${{ env.UBUNTU_VERSION }}
steps:
- uses: actions/checkout@v2

Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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')
Expand All @@ -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:
Expand Down

0 comments on commit d95a8f5

Please sign in to comment.