Skip to content

Commit

Permalink
RUNNER_TEMP
Browse files Browse the repository at this point in the history
  • Loading branch information
krlmlr committed Sep 21, 2023
1 parent d721add commit 450a140
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion .github/workflows/custom/after-install/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,26 @@ runs:
with:
detached: true

- name: Environment before RUNNER_TEMP
run: |
env | sort
shell: bash

- name: Set RUNNER_TEMP
run: |
echo "RUNNER_TEMP=${{ runner.temp }} | tee -a $GITHUB_ENV
shell: bash

- name: Environment after RUNNER_TEMP
run: |
env | sort
shell: bash

- name: Download DuckDB binary
run: |
# FIXME: only for stable version, other code for dynamic version
tempdir <- "${{ runner.temp }}"
tempdir <- Sys.getenv("RUNNER_TEMP")
runner_os <- "${{ runner.os }}"
if (runner_os == "Linux") {
file <- "libduckdb-linux-amd64.zip"
Expand Down

0 comments on commit 450a140

Please sign in to comment.