Their version of cache key is different from mine
All checks were successful
AppImage Build / build-appimage (push) Successful in 1m35s
All checks were successful
AppImage Build / build-appimage (push) Successful in 1m35s
This commit is contained in:
parent
67b2896bbf
commit
492f7d12e7
@ -22,13 +22,14 @@ jobs:
|
|||||||
id: upstream-version
|
id: upstream-version
|
||||||
run: |
|
run: |
|
||||||
echo "version=$(git rev-parse HEAD)/$(cd chawan && git rev-parse HEAD)" >> $GITHUB_OUTPUT
|
echo "version=$(git rev-parse HEAD)/$(cd chawan && git rev-parse HEAD)" >> $GITHUB_OUTPUT
|
||||||
|
echo "shorthash=$(cd chawan && git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
|
||||||
- name: Check for pre-existing build
|
- name: Check for pre-existing build
|
||||||
id: cache
|
id: cache
|
||||||
uses: actions/cache/restore@v4
|
uses: actions/cache/restore@v4
|
||||||
with:
|
with:
|
||||||
lookup-only: true
|
lookup-only: true
|
||||||
key: ${{ steps.upstream-version.outputs.version }}
|
key: ${{ steps.upstream-version.outputs.version }}
|
||||||
path: README.md # Path required on lookup only?
|
path: Chawan-x86_64-${{ steps.upstream-version.outputs.shorthash }}.AppImage"
|
||||||
- name: Build AppImage
|
- name: Build AppImage
|
||||||
id: build
|
id: build
|
||||||
if: steps.cache.outputs.cache-hit != 'true'
|
if: steps.cache.outputs.cache-hit != 'true'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user