Skip to content

Commit

Permalink
Update HEAD SHA retrieve (masesgroup#175)
Browse files Browse the repository at this point in the history
  • Loading branch information
masesdevelopers authored May 15, 2024
1 parent d15b6f2 commit 2fad2a2
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/linux.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/windows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -379,15 +379,15 @@ 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
with:
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: |
Expand Down

0 comments on commit 2fad2a2

Please sign in to comment.