From 39fbe25afc8db1d3c8cfc9b062a26548771e44ee Mon Sep 17 00:00:00 2001 From: 2fort sink <87287937+OEMunlag@users.noreply.github.com> Date: Wed, 4 Feb 2026 18:07:16 -0300 Subject: [PATCH 1/2] Update build.yml --- .github/workflows/build.yml | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1604cac5..2d5a8b1a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -149,23 +149,12 @@ jobs: - name: ccache stats run: ccache --show-stats - - # ------------------------------------------------- - # Package dist folder as ZIP with commit SHA - # ------------------------------------------------- - - name: Package dist - # working-directory: horizon-oc - run: | - ZIP_NAME="horizon-oc-zeus-dist-${SHORT_SHA}.zip" - zip -r "$ZIP_NAME" dist - echo "ZIP_NAME=$ZIP_NAME" >> $GITHUB_ENV - # ------------------------------------------------- # Upload ZIP artifact # ------------------------------------------------- - name: Upload build artifact uses: actions/upload-artifact@v6 with: - name: horizon-oc-zeus-dist-${{ env.SHORT_SHA }} + name: horizon-oc-zeus-dist path: dist/ compression-level: 3 From c70fd82e60a5da87942b7653a2305b0ab28ef8d2 Mon Sep 17 00:00:00 2001 From: 2fort sink <87287937+OEMunlag@users.noreply.github.com> Date: Sat, 7 Feb 2026 20:07:56 -0300 Subject: [PATCH 2/2] Modify build.yml to set commit SHA and dist Updated the GitHub Actions workflow to include a distribution file with the commit SHA. --- .github/workflows/build.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2d5a8b1a..684e70ef 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -10,7 +10,7 @@ jobs: build: runs-on: ubuntu-latest - # Minimal devkitA64 container, apparently dkp-toolchain isn't needed? + # Minimal devkitA64 container container: image: devkitpro/devkita64:20251231 @@ -47,9 +47,12 @@ jobs: # ------------------------------------------------- # Get short commit SHA # ------------------------------------------------- - - name: Set commit SHA + - name: Set commit SHA & dist id: vars - run: echo "SHORT_SHA=$(echo $GITHUB_SHA | cut -c1-7)" >> $GITHUB_ENV + run: | + echo "SHORT_SHA=$(echo $GITHUB_SHA | cut -c1-7)" >> $GITHUB_ENV + echo $SHORT_SHA > dist/.commit + echo $GITHUB_SHA >> dist/.commit - name: Clone Atmosphere run: git clone --depth=1 --single-branch https://github.com/Atmosphere-NX/Atmosphere.git atmosphere -b $(cat ams_ver.txt)