Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions .github/workflows/compilation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,24 +11,25 @@ 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: |
make

- 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() }}
Expand All @@ -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
Loading