diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0073de6..8ab11f6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -24,13 +24,13 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Install buildx - uses: docker/setup-buildx-action@v1 + uses: docker/setup-buildx-action@v2 with: config: .github/buildkit.toml - name: Login to Docker - uses: docker/login-action@v1 + uses: docker/login-action@v2 with: registry: ghcr.io username: ${{ github.actor }} @@ -41,7 +41,7 @@ jobs: - name: Stop Commands run: T="$(echo -n ${{ github.token }} | sha256sum | head -c 64)" && echo -e "::add-mask::${T}\n::stop-commands::${T}" - name: Build target base image - uses: docker/build-push-action@v2 + uses: docker/build-push-action@v3 with: context: images/base pull: true @@ -59,13 +59,13 @@ jobs: target: [win64,linux64] steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Install buildx - uses: docker/setup-buildx-action@v1 + uses: docker/setup-buildx-action@v2 with: config: .github/buildkit.toml - name: Login to Docker - uses: docker/login-action@v1 + uses: docker/login-action@v2 with: registry: ghcr.io username: ${{ github.actor }} @@ -76,7 +76,7 @@ jobs: - name: Stop Commands run: T="$(echo -n ${{ github.token }} | sha256sum | head -c 64)" && echo -e "::add-mask::${T}\n::stop-commands::${T}" - name: Build target base image - uses: docker/build-push-action@v2 + uses: docker/build-push-action@v3 with: context: images/base-${{ matrix.target }} pull: true @@ -95,13 +95,13 @@ jobs: variant: [gpl,lgpl,gpl 4.4,gpl 5.0,lgpl 4.4,lgpl 5.0,gpl-shared,lgpl-shared,gpl-shared 4.4,gpl-shared 5.0,lgpl-shared 4.4,lgpl-shared 5.0] steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Install buildx - uses: docker/setup-buildx-action@v1 + uses: docker/setup-buildx-action@v2 with: config: .github/buildkit.toml - name: Login to Docker - uses: docker/login-action@v1 + uses: docker/login-action@v2 with: registry: ghcr.io username: ${{ github.actor }} @@ -116,7 +116,7 @@ jobs: - name: Stop Commands run: T="$(echo -n ${{ github.token }} | sha256sum | head -c 64)" && echo -e "::add-mask::${T}\n::stop-commands::${T}" - name: Build target base image - uses: docker/build-push-action@v2 + uses: docker/build-push-action@v3 with: context: . pull: true @@ -135,9 +135,9 @@ jobs: variant: [gpl,lgpl,gpl 4.4,gpl 5.0,lgpl 4.4,lgpl 5.0,gpl-shared,lgpl-shared,gpl-shared 4.4,gpl-shared 5.0,lgpl-shared 4.4,lgpl-shared 5.0] steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Login to Docker - uses: docker/login-action@v1 + uses: docker/login-action@v2 with: registry: ghcr.io username: ${{ github.actor }} @@ -147,7 +147,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@v2 + uses: actions/upload-artifact@v3 with: name: ffmpeg path: artifacts/* @@ -158,9 +158,9 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Download artifacts - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v3 with: name: ffmpeg path: artifacts diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index f0f4ece..35c90f1 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -21,9 +21,9 @@ jobs: variant: [gpl,lgpl,gpl 4.4,gpl 5.0,lgpl 4.4,lgpl 5.0,gpl-shared,lgpl-shared,gpl-shared 4.4,gpl-shared 5.0,lgpl-shared 4.4,lgpl-shared 5.0] steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Install buildx - uses: docker/setup-buildx-action@v1 + uses: docker/setup-buildx-action@v2 with: config: .github/buildkit.toml driver: docker @@ -32,7 +32,7 @@ jobs: - name: Build ffmpeg run: ./build.sh ${{ matrix.target }} ${{ matrix.variant }} - name: Upload artifacts - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: ffmpeg path: artifacts/*