mirror of
https://github.com/actions/setup-go.git
synced 2025-12-16 22:49:45 +00:00
format update
This commit is contained in:
parent
17e1a7df42
commit
2958d38a2c
@ -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…
x
Reference in New Issue
Block a user