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] 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)