Skip to content

Commit

Permalink
chore(CI): GitHub Actions createRef by Octokit continues to fail with…
Browse files Browse the repository at this point in the history
… 403
  • Loading branch information
danielweck committed Feb 13, 2025
1 parent 83cf7e6 commit a33c4a7
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,27 +85,27 @@ jobs:
- osarch: windows-intel
runson: windows-latest #windows-2022
packname: win
release_tag: latest-windows-intel
release_tag: latest-windows-intel-gpu
- osarch: windows-arm
runson: windows-latest #windows-2022
packname: win
release_tag: latest-windows-arm
release_tag: latest-windows-arm-gpu
- osarch: macos-intel
runson: macos-latest #macos-14-arm64
packname: 'mac:skip-notarize'
release_tag: latest-macos-intel
release_tag: latest-macos-intel-gpu
- osarch: macos-arm
runson: macos-latest #macos-14-arm64
packname: 'mac:skip-notarize'
release_tag: latest-macos-arm
release_tag: latest-macos-arm-gpu
- osarch: linux-intel
runson: ubuntu-22.04 #ubuntu-latest is ubuntu-24.04
packname: linux
release_tag: latest-linux-intel
release_tag: latest-linux-intel-gpu
- osarch: linux-arm
runson: ubuntu-22.04 #ubuntu-latest is ubuntu-24.04
packname: linux
release_tag: latest-linux-arm
release_tag: latest-linux-arm-gpu
env:
RELEASE_TAG: ${{ matrix.release_tag }}
steps:
Expand Down
2 changes: 1 addition & 1 deletion build/release-github.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ const SAFE_DEBUG = false;
createRefRES = await octokit.git.createRef({ owner, repo, ref: ref2, sha });
} catch (err) {
console.log("XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX");
if (DEBUG) console.log((err?.toString ? err.toString() : String(err)).replace(ghtoken, "GH_TOKEN_XX"));
console.log((err?.toString ? err.toString() : String(err)).replace(ghtoken, "GH_TOKEN_XX"));
console.log("XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX");
console.log("createRef error! Continue ... " + ref2 + " -- " + sha);
// console.log("createRef error! Abort.");
Expand Down
2 changes: 1 addition & 1 deletion src/main/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ let _storeUnsubscribe;
// --in-process-gpu ?
// app.commandLine.appendSwitch("in-process-gpu");
// ------------------------------------ see patchElectronJestRunner4
// app.commandLine.appendSwitch("disable-gpu");
app.commandLine.appendSwitch("disable-gpu");
// app.disableHardwareAcceleration();
// app.commandLine.appendSwitch("disable-software-rasterizer");

Expand Down

0 comments on commit a33c4a7

Please sign in to comment.