better ifs
This commit is contained in:
parent
afc73a5a0b
commit
956adfab3a
1 changed files with 3 additions and 2 deletions
|
@ -16,6 +16,7 @@ runs:
|
||||||
with:
|
with:
|
||||||
args: generate_aur_cache_key ${{ inputs.layer_config_file }}
|
args: generate_aur_cache_key ${{ inputs.layer_config_file }}
|
||||||
- name: Restore aur cache
|
- name: Restore aur cache
|
||||||
|
if: steps.cache-aur-key.outputs.cache-aur-key != 'empty'
|
||||||
id: cache-aur-restore
|
id: cache-aur-restore
|
||||||
uses: https://code.forgejo.org/actions/cache/restore@v3
|
uses: https://code.forgejo.org/actions/cache/restore@v3
|
||||||
with:
|
with:
|
||||||
|
@ -25,12 +26,12 @@ runs:
|
||||||
aur-${{ github.repository }}-${{ steps.cache-aur-key.outputs.cache-aur-key-restore }}
|
aur-${{ github.repository }}-${{ steps.cache-aur-key.outputs.cache-aur-key-restore }}
|
||||||
aur-${{ github.repository }}-
|
aur-${{ github.repository }}-
|
||||||
- name: Build aur
|
- name: Build aur
|
||||||
if: steps.cache-aur-restore.outputs.cache-hit != 'true'
|
if: steps.cache-aur-key.outputs.cache-aur-key != 'empty' && steps.cache-aur-restore.outputs.cache-hit != 'true'
|
||||||
uses: docker://git.fml128.ch/fml128/idkyet-builder:2024.03.271747
|
uses: docker://git.fml128.ch/fml128/idkyet-builder:2024.03.271747
|
||||||
with:
|
with:
|
||||||
args: build_aur_packages ${{ inputs.layer_config_file }}
|
args: build_aur_packages ${{ inputs.layer_config_file }}
|
||||||
- name: Save aur cache
|
- name: Save aur cache
|
||||||
if: steps.cache-aur-restore.outputs.cache-hit != 'true'
|
if: steps.cache-aur-key.outputs.cache-aur-key != 'empty' && steps.cache-aur-restore.outputs.cache-hit != 'true'
|
||||||
uses: actions/cache/save@v4
|
uses: actions/cache/save@v4
|
||||||
with:
|
with:
|
||||||
path: aur
|
path: aur
|
||||||
|
|
Loading…
Add table
Reference in a new issue