Skip to content

Commit

Permalink
set environment variable across whole workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
SonicGDX committed Oct 16, 2024
1 parent 0774bd6 commit 99c9511
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/pushaction.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ name: Compile and deploy snapshot artifacts
on: [push, pull_request] # Don't worry, the actual deployment is guarded with an "if" and only done on push to master
env:
GRADLE_USER_HOME: .gradle
# Needed to use Node 16 for the checkout action. Node 20 does not work with glibc 2.17
# See https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true

jobs:
macos:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/releaseaction.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:

env:
GRADLE_USER_HOME: .gradle
# Needed to use Node 16 for the checkout action. Node 20 does not work with glibc 2.17
# See https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true

jobs:
macos:
Expand Down

0 comments on commit 99c9511

Please sign in to comment.