mirror of
https://github.com/rclone/rclone.git
synced 2024-11-28 11:25:18 +01:00
build: remove separate go module cache step as its done by setup-go
This commit is contained in:
parent
9531cd2c46
commit
db17aaf7cd
16
.github/workflows/build.yml
vendored
16
.github/workflows/build.yml
vendored
@ -168,14 +168,6 @@ jobs:
|
|||||||
printf "\n\nSystem environment:\n\n"
|
printf "\n\nSystem environment:\n\n"
|
||||||
env
|
env
|
||||||
|
|
||||||
- name: Go module cache
|
|
||||||
uses: actions/cache@v4
|
|
||||||
with:
|
|
||||||
path: ~/go/pkg/mod
|
|
||||||
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
|
|
||||||
restore-keys: |
|
|
||||||
${{ runner.os }}-go-
|
|
||||||
|
|
||||||
- name: Build rclone
|
- name: Build rclone
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
@ -271,14 +263,6 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
go-version: '>=1.22.0-rc.1'
|
go-version: '>=1.22.0-rc.1'
|
||||||
|
|
||||||
- name: Go module cache
|
|
||||||
uses: actions/cache@v4
|
|
||||||
with:
|
|
||||||
path: ~/go/pkg/mod
|
|
||||||
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
|
|
||||||
restore-keys: |
|
|
||||||
${{ runner.os }}-go-
|
|
||||||
|
|
||||||
- name: Set global environment variables
|
- name: Set global environment variables
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
|
Loading…
Reference in New Issue
Block a user