Skip to content

Commit

Permalink
CI: Update workflow to fix warnings and suppress Git progress report
Browse files Browse the repository at this point in the history
  • Loading branch information
Simran-B committed Sep 11, 2023
1 parent 2036fff commit 718dbf3
Showing 1 changed file with 15 additions and 12 deletions.
27 changes: 15 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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 }}
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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 }}
Expand Down

0 comments on commit 718dbf3

Please sign in to comment.