From b1c56953dc666eed9e711add013ab1cc527fe6c8 Mon Sep 17 00:00:00 2001 From: slimpuggamer <70231350+slimpuggamer@users.noreply.github.com> Date: Fri, 17 Apr 2026 20:43:18 +0300 Subject: [PATCH] GHActions: update workflow to remove warnings --- .github/workflows/compilation.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/compilation.yml b/.github/workflows/compilation.yml index 2809d00..c691457 100644 --- a/.github/workflows/compilation.yml +++ b/.github/workflows/compilation.yml @@ -11,16 +11,17 @@ jobs: build: runs-on: ubuntu-latest container: ps2dev/ps2dev:latest + steps: - name: Install dependencies run: | apk add build-base git zip - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - run: | git config --global --add safe.directory "$GITHUB_WORKSPACE" - git fetch --prune --unshallow + git fetch --prune --unshallow || true - name: Compile run: | @@ -28,7 +29,7 @@ jobs: - name: Get short SHA id: slug - run: echo "sha8=$(echo ${GITHUB_SHA} | cut -c1-8)" >> $GITHUB_ENV + run: echo "sha8=${GITHUB_SHA::8}" >> $GITHUB_ENV - name: Upload artifacts if: ${{ success() }} @@ -42,17 +43,16 @@ jobs: romverchecker_r4d_pkd.elf romverchecker_arcade.elf romverchecker_arcade_pkd.elf - + - name: Debug - Check ELF file exists run: ls -lah romverchecker.elf - name: Create release if: github.ref == 'refs/heads/main' - uses: marvinpinto/action-automatic-releases@latest + uses: softprops/action-gh-release@v2 with: - repo_token: "${{ secrets.GITHUB_TOKEN }}" - automatic_release_tag: "latest" - title: "ROMVersionChecker nightly test builds" + tag_name: latest + title: ROMVersionChecker nightly test builds files: | romverchecker.elf romverchecker_pkd.elf