mirror of
https://github.com/actions/setup-go.git
synced 2025-12-27 08:58:17 +00:00
format update
This commit is contained in:
parent
17e1a7df42
commit
2958d38a2c
1 changed files with 2 additions and 6 deletions
|
|
@ -360,14 +360,10 @@ jobs:
|
|||
$arch = "${{ runner.arch }}".ToLower()
|
||||
echo "ARCH=$arch" | Out-File $env:GITHUB_ENV -Append
|
||||
# Sets CACHE_OS_SUFFIX per platform
|
||||
- name: Set cache OS suffix (Linux/macOS)
|
||||
if: runner.os != 'Windows'
|
||||
- name: Set cache OS suffix for Linux
|
||||
if: runner.os == 'Linux'
|
||||
shell: bash
|
||||
run: echo "CACHE_OS_SUFFIX=$ImageOS-" >> $GITHUB_ENV
|
||||
- name: Set cache OS suffix (Windows)
|
||||
if: runner.os == 'Windows'
|
||||
shell: pwsh
|
||||
run: echo "CACHE_OS_SUFFIX=" >> $GITHUB_ENV
|
||||
|
||||
- name: Restore Go cache
|
||||
id: go-cache
|
||||
|
|
|
|||
Loading…
Reference in a new issue