Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/actions/devcontainer-json/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ runs:
using: composite
steps:

- name: Setup Node.js
if: contains(runner.name, 'linux-') == true
- if: env.RUNNER_ENVIRONMENT != 'github-hosted'
name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '16'
Expand Down
8 changes: 4 additions & 4 deletions .github/actions/setup-runner-env/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,26 +6,26 @@ runs:
using: composite
steps:

- if: contains(runner.name, 'linux-') != true
- if: env.RUNNER_ENVIRONMENT == 'github-hosted'
name: Free up disk space
uses: ./.github/actions/free-disk-space
with:
tool_cache: "${{ runner.tool_cache }}"

- if: contains(runner.name, 'linux-') == true
- if: env.RUNNER_ENVIRONMENT != 'github-hosted'
name: Setup self-hosted runner environment
shell: bash -eo pipefail {0}
run: |
echo "HOME=${{ runner.workspace }}" >> $GITHUB_ENV;
echo "TMPDIR=${{ runner.temp }}" >> $GITHUB_ENV;

- if: contains(runner.name, 'linux-') == true
- if: env.RUNNER_ENVIRONMENT != 'github-hosted'
name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '16'

- if: contains(runner.name, 'linux-') != true
- if: env.RUNNER_ENVIRONMENT == 'github-hosted'
name: Set up QEMU
uses: docker/setup-qemu-action@v2

Expand Down