From 718dbf3bcc5866dd61442bde82f73027182f328d Mon Sep 17 00:00:00 2001 From: Simran Spiller Date: Mon, 11 Sep 2023 11:59:17 +0200 Subject: [PATCH] CI: Update workflow to fix warnings and suppress Git progress report --- .github/workflows/ci.yml | 27 +++++++++++++++------------ 1 file changed, 15 insertions(+), 12 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 96cab44e4..49faec1f4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -53,9 +53,10 @@ jobs: steps: - name: Checkout Source Code - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: - submodules: 'true' + submodules: true + show-progress: false - name: Generate Patreon List env: @@ -126,11 +127,11 @@ jobs: pkgname="${filename/x86_64/Linux-x86_64}" mv "${filename}" "${pkgname}" basename="${filename%.*}" - echo "::set-output name=pkgname::${pkgname}" - echo "::set-output name=artifact::${basename/x86_64/Linux-x86_64-${{ matrix.cc-compiler }}}" + echo "pkgname=${pkgname}" >> $GITHUB_OUTPUT + echo "artifact=${basename/x86_64/Linux-x86_64-${{ matrix.cc-compiler }}}" >> $GITHUB_OUTPUT - name: Upload Artifact to GitHub - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 continue-on-error: true with: name: ${{ steps.package.outputs.artifact }} @@ -155,9 +156,10 @@ jobs: steps: - name: Checkout Source Code - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: - submodules: 'true' + submodules: true + show-progress: false - name: Automatically Generate Package Name shell: bash @@ -268,13 +270,13 @@ jobs: mv olive-editor deploy - name: Upload Installer Artifact to GitHub - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: ${{ env.PKGNAME }}-Installer path: ${{ runner.workspace }}/build/${{ env.PKGNAME }}.exe - name: Upload Portable Artifact to GitHub - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: ${{ env.PKGNAME }}-Portable path: ${{ runner.workspace }}/build/deploy @@ -309,9 +311,10 @@ jobs: steps: - name: Checkout Source Code - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: - submodules: 'true' + submodules: true + show-progress: false - name: Automatically Generate Package Name shell: bash @@ -456,7 +459,7 @@ jobs: hdiutil convert img.dmg -format UDZO -o $PKGNAME.dmg - name: Upload Artifact to GitHub - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 continue-on-error: true with: name: ${{ env.PKGNAME }}