updated action
This commit is contained in:
parent
c52decdd28
commit
b6118dde31
1 changed files with 13 additions and 7 deletions
20
action.yml
20
action.yml
|
@ -29,6 +29,18 @@ runs:
|
||||||
path: aur
|
path: aur
|
||||||
key: ${{ runner.os }}-${{ github.repository }}-aur-${{ github.run_number }}
|
key: ${{ runner.os }}-${{ github.repository }}-aur-${{ github.run_number }}
|
||||||
restore-keys: ${{ runner.os }}-${{ github.repository }}-aur-
|
restore-keys: ${{ runner.os }}-${{ github.repository }}-aur-
|
||||||
|
- name: Build aur
|
||||||
|
if: steps.cache-aur-restore.outputs.cache-hit != 'true'
|
||||||
|
uses: https://git.fml128.ch/FML128/idkyet-builder-action/aur@main
|
||||||
|
with:
|
||||||
|
layer_config_file: layers_config.yml
|
||||||
|
- name: Save aur cache
|
||||||
|
if: steps.cache-aur-restore.outputs.cache-hit != 'true'
|
||||||
|
uses: actions/cache/save@v3
|
||||||
|
with:
|
||||||
|
path: aur
|
||||||
|
# key: ${{ steps.cache-primes-restore.outputs.cache-primary-key }} #TODO: implement this for better caching
|
||||||
|
key: ${{ runner.os }}-${{ github.repository }}-aur-${{ github.run_number }}
|
||||||
- name: Build images
|
- name: Build images
|
||||||
uses: docker://git.fml128.ch/fml128/idkyet-builder:latest
|
uses: docker://git.fml128.ch/fml128/idkyet-builder:latest
|
||||||
args:
|
args:
|
||||||
|
@ -49,10 +61,4 @@ runs:
|
||||||
curl --user "${{ gitea.actor }}:${{ secrets.PACKET_TOKEN }}" \
|
curl --user "${{ gitea.actor }}:${{ secrets.PACKET_TOKEN }}" \
|
||||||
-X DELETE \
|
-X DELETE \
|
||||||
"https://git.fml128.ch/api/packages/${{ github.repository_owner }}/generic/${GITHUB_REPOSITORY#*/}/${{ steps.version.outputs.RELEASE_VERSION }}"
|
"https://git.fml128.ch/api/packages/${{ github.repository_owner }}/generic/${GITHUB_REPOSITORY#*/}/${{ steps.version.outputs.RELEASE_VERSION }}"
|
||||||
- name: Save aur cache
|
|
||||||
id: cache-aur-save
|
|
||||||
uses: actions/cache/save@v3
|
|
||||||
with:
|
|
||||||
path: aur
|
|
||||||
# key: ${{ steps.cache-primes-restore.outputs.cache-primary-key }} #TODO: implement this for better caching
|
|
||||||
key: ${{ runner.os }}-${{ github.repository }}-aur-${{ github.run_number }}
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue