You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by ke...@apache.org on 2023/03/28 05:38:48 UTC
[skywalking-infra-e2e] branch setupgo created (now 1876d0d)
This is an automated email from the ASF dual-hosted git repository.
kezhenxu94 pushed a change to branch setupgo
in repository https://gitbox.apache.org/repos/asf/skywalking-infra-e2e.git
at 1876d0d Leverage the built-in cache in setup-go@v4
This branch includes the following new commits:
new 1876d0d Leverage the built-in cache in setup-go@v4
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
[skywalking-infra-e2e] 01/01: Leverage the built-in cache in setup-go@v4
Posted by ke...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
kezhenxu94 pushed a commit to branch setupgo
in repository https://gitbox.apache.org/repos/asf/skywalking-infra-e2e.git
commit 1876d0da8b00d2e1079858d066e1594c3e6cce90
Author: kezhenxu94 <ke...@apache.org>
AuthorDate: Tue Mar 28 13:38:39 2023 +0800
Leverage the built-in cache in setup-go@v4
---
action.yaml | 25 +------------------------
1 file changed, 1 insertion(+), 24 deletions(-)
diff --git a/action.yaml b/action.yaml
index cb81a18..c627fd2 100644
--- a/action.yaml
+++ b/action.yaml
@@ -35,30 +35,7 @@ runs:
uses: actions/setup-go@v4
with:
go-version: 1.18
- - if: runner.os == 'Linux'
- uses: actions/cache@v3
- with:
- path: |
- ~/.cache/go-build
- ~/go/pkg/mod
- key: skywalking-infra-e2e-${{ runner.os }}-go-${{ hashFiles(format('{0}/{1}', github.action_path, 'go.sum')) }}
- restore-keys: skywalking-infra-e2e-${{ runner.os }}-go-
- - if: runner.os == 'macOS'
- uses: actions/cache@v3
- with:
- path: |
- ~/Library/Caches/go-build
- ~/go/pkg/mod
- key: skywalking-infra-e2e-${{ runner.os }}-go-${{ hashFiles(format('{0}/{1}', github.action_path, 'go.sum')) }}
- restore-keys: skywalking-infra-e2e-${{ runner.os }}-go-
- - if: runner.os == 'Windows'
- uses: actions/cache@v3
- with:
- path: |
- ~\AppData\Local\go-build
- ~\go\pkg\mod
- key: skywalking-infra-e2e-${{ runner.os }}-go-${{ hashFiles(format('{0}/{1}', github.action_path, 'go.sum')) }}
- restore-keys: skywalking-infra-e2e-${{ runner.os }}-go-
+ cache-dependency-path: ${{ github.action_path }}/go.sum
- shell: bash
run: make -C $GITHUB_ACTION_PATH install DESTDIR=/usr/local/bin
- name: E2E Dir Generator