From 2fad2a22352bfe04b0988328a4e22fd917e09805 Mon Sep 17 00:00:00 2001 From: MASES Public Developers Team <94312179+masesdevelopers@users.noreply.github.com> Date: Wed, 15 May 2024 12:33:33 +0200 Subject: [PATCH] Update HEAD SHA retrieve (#175) --- .github/workflows/linux.yaml | 6 +++--- .github/workflows/windows.yaml | 12 ++++++------ 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/linux.yaml b/.github/workflows/linux.yaml index 72572dab0f..b7ae278d2e 100644 --- a/.github/workflows/linux.yaml +++ b/.github/workflows/linux.yaml @@ -97,7 +97,7 @@ jobs: with: enableCrossOsArchive: true path: ./bin/ - key: JCOReflector_linux_bin_${{ env.GITHUB_SHA }} + key: JCOReflector_linux_bin_${{ github.sha }} execute_java_tests: @@ -125,7 +125,7 @@ jobs: fail-on-cache-miss: true enableCrossOsArchive: true path: ./bin/ - key: JCOReflector_linux_bin_${{ env.GITHUB_SHA }} + key: JCOReflector_linux_bin_${{ github.sha }} - name: Set up JDK distribution uses: actions/setup-java@v4 @@ -211,7 +211,7 @@ jobs: fail-on-cache-miss: true enableCrossOsArchive: true path: ./bin/ - key: JCOReflector_linux_bin_${{ env.GITHUB_SHA }} + key: JCOReflector_linux_bin_${{ github.sha }} - name: Set up JDK distribution uses: actions/setup-java@v4 diff --git a/.github/workflows/windows.yaml b/.github/workflows/windows.yaml index 331d21966f..1f728214ae 100644 --- a/.github/workflows/windows.yaml +++ b/.github/workflows/windows.yaml @@ -133,14 +133,14 @@ jobs: with: enableCrossOsArchive: true path: ./src/jvm/ - key: JCOReflector_source_${{ env.GITHUB_SHA }} + key: JCOReflector_source_${{ github.sha }} - name: Save JCOReflector bin in cache uses: actions/cache/save@v4 with: enableCrossOsArchive: true path: ./bin/ - key: JCOReflector_windows_bin_${{ env.GITHUB_SHA }} + key: JCOReflector_windows_bin_${{ github.sha }} execute_java_tests: needs: build_windows @@ -173,7 +173,7 @@ jobs: fail-on-cache-miss: true enableCrossOsArchive: true path: ./bin/ - key: JCOReflector_windows_bin_${{ env.GITHUB_SHA }} + key: JCOReflector_windows_bin_${{ github.sha }} - name: Set up JDK distribution uses: actions/setup-java@v4 @@ -272,7 +272,7 @@ jobs: fail-on-cache-miss: true enableCrossOsArchive: true path: ./bin/ - key: JCOReflector_windows_bin_${{ env.GITHUB_SHA }} + key: JCOReflector_windows_bin_${{ github.sha }} - name: Set up JDK distribution uses: actions/setup-java@v4 @@ -379,7 +379,7 @@ jobs: fail-on-cache-miss: true enableCrossOsArchive: true path: ./bin/ - key: JCOReflector_windows_bin_${{ env.GITHUB_SHA }} + key: JCOReflector_windows_bin_${{ github.sha }} - name: Restore JCOReflector source from cache uses: actions/cache/restore@v4 @@ -387,7 +387,7 @@ jobs: fail-on-cache-miss: true enableCrossOsArchive: true path: ./src/jvm/ - key: JCOReflector_source_${{ env.GITHUB_SHA }} + key: JCOReflector_source_${{ github.sha }} - name: Compress release files run: |