mirror of
https://github.com/BtbN/FFmpeg-Builds.git
synced 2025-05-01 15:14:30 +02:00
Update actions
This commit is contained in:
parent
932ff8fb57
commit
9877462cf5
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
@ -82,7 +82,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
echo "dltagname=$(./util/get_dl_cache_tag.sh)" >> $GITHUB_OUTPUT
|
echo "dltagname=$(./util/get_dl_cache_tag.sh)" >> $GITHUB_OUTPUT
|
||||||
- name: Cache
|
- name: Cache
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: .cache/downloads
|
path: .cache/downloads
|
||||||
key: download-cache-${{ steps.dl_cache.outputs.dltagname }}
|
key: download-cache-${{ steps.dl_cache.outputs.dltagname }}
|
||||||
@ -200,7 +200,7 @@ jobs:
|
|||||||
- name: Generate Dockerfile
|
- name: Generate Dockerfile
|
||||||
run: ./generate.sh ${{ matrix.target }} ${{ matrix.variant }}
|
run: ./generate.sh ${{ matrix.target }} ${{ matrix.variant }}
|
||||||
- name: Cache
|
- name: Cache
|
||||||
uses: actions/cache/restore@v3
|
uses: actions/cache/restore@v4
|
||||||
with:
|
with:
|
||||||
path: .cache/downloads
|
path: .cache/downloads
|
||||||
key: download-cache-${{ steps.dl_cache.outputs.dltagname }}
|
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}"
|
T="$(echo -n ${{ github.token }} | sha256sum | head -c 64)" && echo -e "::add-mask::${T}\n::stop-commands::${T}"
|
||||||
./build.sh ${{ matrix.target }} ${{ matrix.variant }}
|
./build.sh ${{ matrix.target }} ${{ matrix.variant }}
|
||||||
- name: Upload artifacts
|
- name: Upload artifacts
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: ffmpeg
|
name: ffmpeg
|
||||||
path: artifacts/*
|
path: artifacts/*
|
||||||
|
4
.github/workflows/pr.yml
vendored
4
.github/workflows/pr.yml
vendored
@ -45,7 +45,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
echo "dltagname=$(./util/get_dl_cache_tag.sh)" >> $GITHUB_OUTPUT
|
echo "dltagname=$(./util/get_dl_cache_tag.sh)" >> $GITHUB_OUTPUT
|
||||||
- name: Cache
|
- name: Cache
|
||||||
uses: actions/cache/restore@v3
|
uses: actions/cache/restore@v4
|
||||||
with:
|
with:
|
||||||
path: .cache/downloads
|
path: .cache/downloads
|
||||||
key: download-cache-${{ steps.dl_cache.outputs.dltagname }}
|
key: download-cache-${{ steps.dl_cache.outputs.dltagname }}
|
||||||
@ -58,7 +58,7 @@ jobs:
|
|||||||
- name: Build ffmpeg
|
- name: Build ffmpeg
|
||||||
run: ./build.sh ${{ matrix.target }} ${{ matrix.variant }}
|
run: ./build.sh ${{ matrix.target }} ${{ matrix.variant }}
|
||||||
- name: Upload artifacts
|
- name: Upload artifacts
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: ffmpeg
|
name: ffmpeg
|
||||||
path: artifacts/*
|
path: artifacts/*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user