Update actions

This commit is contained in:
BtbN 2024-02-13 16:02:31 +01:00
parent 932ff8fb57
commit 9877462cf5
2 changed files with 5 additions and 5 deletions

View File

@ -82,7 +82,7 @@ jobs:
run: |
echo "dltagname=$(./util/get_dl_cache_tag.sh)" >> $GITHUB_OUTPUT
- name: Cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: .cache/downloads
key: download-cache-${{ steps.dl_cache.outputs.dltagname }}
@ -200,7 +200,7 @@ jobs:
- name: Generate Dockerfile
run: ./generate.sh ${{ matrix.target }} ${{ matrix.variant }}
- name: Cache
uses: actions/cache/restore@v3
uses: actions/cache/restore@v4
with:
path: .cache/downloads
key: download-cache-${{ steps.dl_cache.outputs.dltagname }}
@ -252,7 +252,7 @@ jobs:
T="$(echo -n ${{ github.token }} | sha256sum | head -c 64)" && echo -e "::add-mask::${T}\n::stop-commands::${T}"
./build.sh ${{ matrix.target }} ${{ matrix.variant }}
- name: Upload artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ffmpeg
path: artifacts/*

View File

@ -45,7 +45,7 @@ jobs:
run: |
echo "dltagname=$(./util/get_dl_cache_tag.sh)" >> $GITHUB_OUTPUT
- name: Cache
uses: actions/cache/restore@v3
uses: actions/cache/restore@v4
with:
path: .cache/downloads
key: download-cache-${{ steps.dl_cache.outputs.dltagname }}
@ -58,7 +58,7 @@ jobs:
- name: Build ffmpeg
run: ./build.sh ${{ matrix.target }} ${{ matrix.variant }}
- name: Upload artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ffmpeg
path: artifacts/*