diff --git a/.github/workflows/linux_gcc_edk2.yml b/.github/workflows/linux_gcc_edk2.yml index 1d8b9bc..679f59a 100644 --- a/.github/workflows/linux_gcc_edk2.yml +++ b/.github/workflows/linux_gcc_edk2.yml @@ -78,7 +78,7 @@ jobs: git clone --recursive https://github.com/tianocore/edk2.git make -C edk2/BaseTools - name: Checkout repository and submodules - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: fetch-depth: 0 submodules: recursive @@ -95,10 +95,10 @@ jobs: build -a ${{ matrix.arch }} -b ${{ env.BUILD_TYPE }} -t ${{ env.COMPILER }} -p EfiFsPkg/EfiFsPkg.dsc for f in Build/EfiFs/${{ env.BUILD_TYPE }}_${{ env.COMPILER }}/${{ matrix.arch }}/*.efi; do mv "$f" "${f%.efi}_${{ matrix.short }}.efi"; done - name: Upload artifacts - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 if: ${{ github.event_name == 'push' }} with: - name: gcc_edk2 + name: gcc_edk2_${{ matrix.short }} path: edk2/Build/EfiFs/${{ env.BUILD_TYPE }}_${{ env.COMPILER }}/${{ matrix.arch }}/*.efi - name: Display SHA-256 if: startsWith(github.ref, 'refs/tags/') @@ -106,7 +106,7 @@ jobs: mv edk2/Build/EfiFs/${{ env.BUILD_TYPE }}_${{ env.COMPILER }}/${{ matrix.arch }}/*.efi . sha256sum *.efi - name: Create release - uses: softprops/action-gh-release@v1 + uses: softprops/action-gh-release@v2 if: startsWith(github.ref, 'refs/tags/') env: GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} @@ -129,8 +129,25 @@ jobs: done printf "