From f99f4eaca70dc3038e7a2370415eb4ea654189fb Mon Sep 17 00:00:00 2001 From: Fredrik Noring Date: Sun, 29 Dec 2024 13:27:16 +0100 Subject: [PATCH] Add workflow_dispatch for a workflow to be triggered manually Also update action versions. --- .github/workflows/compilation.yml | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/.github/workflows/compilation.yml b/.github/workflows/compilation.yml index 7d90d5aac2d393..15258b6f92a340 100644 --- a/.github/workflows/compilation.yml +++ b/.github/workflows/compilation.yml @@ -1,15 +1,16 @@ -name: build +name: Compile PlayStation 2 Linux on: push: pull_request: + workflow_dispatch: jobs: build: runs-on: ubuntu-latest container: ghcr.io/frno7/gentoo-mipsr5900el:main steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Archive tag run: | @@ -61,30 +62,34 @@ jobs: - name: Publish NTSC kernel if: ${{ success() }} - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: "vmlinuz-ntsc-${{ env.ARCHIVE_TAG }}" + if-no-files-found: error path: vmlinuz-ntsc-${{ env.ARCHIVE_TAG }}.elf - name: Publish PAL kernel if: ${{ success() }} - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: "vmlinuz-pal-${{ env.ARCHIVE_TAG }}" + if-no-files-found: error path: vmlinuz-pal-${{ env.ARCHIVE_TAG }}.elf - name: Publish NTSC initramfs archive if: ${{ success() }} - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: "initramfs-ntsc-${{ env.ARCHIVE_TAG }}" + if-no-files-found: error path: usr/initramfs-ntsc.tar.gz - name: Publish PAL initramfs archive if: ${{ success() }} - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: "initramfs-pal-${{ env.ARCHIVE_TAG }}" + if-no-files-found: error path: usr/initramfs-pal.tar.gz - name: Publish PAL kernel and PAL initramfs archive as a prerelease package