From 85e0e132ba20c9dd57a846942f9d36d0a96799f0 Mon Sep 17 00:00:00 2001
From: Gareth Williams <gaz492@gmail.com>
Date: Fri, 4 Oct 2024 10:24:57 +0100
Subject: [PATCH] ooops

---
 .github/workflows/snapshot-signed.yml | 4 ++--
 action.yml                            | 4 ++--
 go.mod                                | 4 +---
 3 files changed, 5 insertions(+), 7 deletions(-)

diff --git a/.github/workflows/snapshot-signed.yml b/.github/workflows/snapshot-signed.yml
index b05d229..f2d003f 100644
--- a/.github/workflows/snapshot-signed.yml
+++ b/.github/workflows/snapshot-signed.yml
@@ -125,13 +125,13 @@ jobs:
 
       - name: Codesign & Notarize
         run: |
+          echo "${{secrets.APPLE_API_KEY}}" > apple_api_key.p8
           cd ./build/bin
           codesign -s "5372643C69B1D499BDF6EA772082E9CE99E85029" -v ./ftb-debug-ui.app --options=runtime --timestamp
           codesign -dv ./ftb-debug-ui.app
-          echo "${{secrets.APPLE_API_KEY}}" > apple_api_key.p8
           zip -r ../../out/ftb-debug-${{ matrix.goos }}-${{ matrix.goarch }}.zip ftb-debug-ui.app
           cd ../../out
-          xcrun notarytool submit "./ftb-debug-${{ matrix.goos }}-${{ matrix.goarch }}.zip" --key "./apple_api_key.p8" --key-id ${{ secrets.APPLE_API_KEY_ID }} --issuer ${{ secrets.APPLE_API_ISSUER }} --wait
+          xcrun notarytool submit "./ftb-debug-${{ matrix.goos }}-${{ matrix.goarch }}.zip" --key "../apple_api_key.p8" --key-id ${{ secrets.APPLE_API_KEY_ID }} --issuer ${{ secrets.APPLE_API_ISSUER }} --wait
 
       - name: Archive artifacts
         uses: actions/upload-artifact@v4
diff --git a/action.yml b/action.yml
index 08af748..172a6e3 100644
--- a/action.yml
+++ b/action.yml
@@ -10,10 +10,10 @@ runs:
       run: |
         echo "GITHUB_SHA_SHORT=$(echo $GITHUB_SHA | cut -c 1-6)" >> $GITHUB_ENV
 
-    - name: Setup Go 1.22
+    - name: Setup Go 1.23
       uses: actions/setup-go@v5
       with:
-        go-version: 1.22
+        go-version: 1.23
         cache-dependency-path: go.sum
 
     - name: Setup NodeJS
diff --git a/go.mod b/go.mod
index 6f87c9c..b3ca9f4 100644
--- a/go.mod
+++ b/go.mod
@@ -1,8 +1,6 @@
 module ftb-debug-ui
 
-go 1.21
-
-toolchain go1.23.1
+go 1.23
 
 require (
 	github.com/cavaliergopher/grab/v3 v3.0.1