mirror of
https://github.com/CompeyDev/setup-rokit.git
synced 2024-12-12 04:30:37 +00:00
fix: test with $HOME instead of ~
This commit is contained in:
parent
d43c31d23c
commit
511e07abb5
1 changed files with 4 additions and 5 deletions
|
@ -58,12 +58,12 @@ runs:
|
||||||
|
|
||||||
- name: Set environment variable
|
- name: Set environment variable
|
||||||
if: runner.os != 'Windows'
|
if: runner.os != 'Windows'
|
||||||
run: echo "~/.aftman/bin" >> $GITHUB_PATH
|
run: echo "$HOME/.aftman/bin" >> $GITHUB_PATH
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
- name: Create auth file
|
- name: Create auth file
|
||||||
run: |
|
run: |
|
||||||
cat > ~/.aftman/auth.toml << EOF
|
cat > $HOME/.aftman/auth.toml << EOF
|
||||||
github = "${{ inputs.token }}"
|
github = "${{ inputs.token }}"
|
||||||
EOF
|
EOF
|
||||||
shell: bash
|
shell: bash
|
||||||
|
@ -73,9 +73,8 @@ runs:
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
~/.aftman/bin
|
$HOME/.aftman/bin
|
||||||
~/.aftman/tool-storage
|
$HOME/.aftman/tool-storage
|
||||||
# TODO: also hash ~/.aftman/aftman.toml
|
|
||||||
key: ${{ runner.os }}-aftman-${{hashFiles(format('{0}/{1}', inputs.path, 'aftman.toml'))}}
|
key: ${{ runner.os }}-aftman-${{hashFiles(format('{0}/{1}', inputs.path, 'aftman.toml'))}}
|
||||||
|
|
||||||
- name: Install tools
|
- name: Install tools
|
||||||
|
|
Loading…
Reference in a new issue