mirror of
https://github.com/ultravioletrs/cocos.git
synced 2026-08-07 07:14:50 +00:00
Fix HAL release workflow Go setup ordering and cache configuration (#609)
CI / lint (push) Has been cancelled
CI / test (agent) (push) Has been cancelled
CI / test (cli) (push) Has been cancelled
CI / test (cmd) (push) Has been cancelled
CI / test (internal) (push) Has been cancelled
CI / test (manager, true) (push) Has been cancelled
CI / test (pkg) (push) Has been cancelled
CI / upload-coverage (push) Has been cancelled
CI / lint (push) Has been cancelled
CI / test (agent) (push) Has been cancelled
CI / test (cli) (push) Has been cancelled
CI / test (cmd) (push) Has been cancelled
CI / test (internal) (push) Has been cancelled
CI / test (manager, true) (push) Has been cancelled
CI / test (pkg) (push) Has been cancelled
CI / upload-coverage (push) Has been cancelled
* Initial plan * fix: repair hal workflow setup-go step --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -17,6 +17,9 @@ jobs:
|
|||||||
sudo rm -rf /opt/ghc
|
sudo rm -rf /opt/ghc
|
||||||
sudo rm -rf "/usr/local/share/boost"
|
sudo rm -rf "/usr/local/share/boost"
|
||||||
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
|
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
|
||||||
|
mkdir -p "$RUNNER_TEMP/hostedtoolcache"
|
||||||
|
echo "RUNNER_TOOL_CACHE=$RUNNER_TEMP/hostedtoolcache" >> "$GITHUB_ENV"
|
||||||
|
echo "AGENT_TOOLSDIRECTORY=$RUNNER_TEMP/hostedtoolcache" >> "$GITHUB_ENV"
|
||||||
df -h
|
df -h
|
||||||
|
|
||||||
- name: Update Ubuntu
|
- name: Update Ubuntu
|
||||||
@@ -39,18 +42,18 @@ jobs:
|
|||||||
echo "Free space:"
|
echo "Free space:"
|
||||||
df -h
|
df -h
|
||||||
|
|
||||||
- name: Install Go
|
|
||||||
uses: actions/setup-go@v5
|
|
||||||
with:
|
|
||||||
go-version: 1.26.x
|
|
||||||
cache-dependency-path: "go.sum"
|
|
||||||
|
|
||||||
- name: Checkout cocos
|
- name: Checkout cocos
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
repository: "ultravioletrs/cocos"
|
repository: "ultravioletrs/cocos"
|
||||||
path: cocos
|
path: cocos
|
||||||
|
|
||||||
|
- name: Install Go
|
||||||
|
uses: actions/setup-go@v5
|
||||||
|
with:
|
||||||
|
go-version: 1.26.x
|
||||||
|
cache-dependency-path: "cocos/go.sum"
|
||||||
|
|
||||||
- name: Checkout buildroot
|
- name: Checkout buildroot
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in New Issue
Block a user