diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8075dc5..84b0cef 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -40,15 +40,21 @@ jobs: run: | sudo apt-get install --reinstall libc6-dev - - name: Setup Golang with cache - uses: magnetikonline/action-golang-cache@v4 + - name: Setup Go + uses: actions/setup-go@v4 with: - go-version: 1.20 - # - name: Setup Go - # uses: actions/setup-go@v4 - # with: - # go-version-file: 'go.mod' - # check-latest: false + go-version-file: 'go.mod' + check-latest: false + + - name: Setup Golang caches + uses: actions/cache@v3 + with: + path: | + ~/.cache/go-build + ~/go/pkg/mod + key: ${{ runner.os }}-golang-${{ hashFiles('**/go.sum') }} + restore-keys: | + ${{ runner.os }}-golang- - name: Setup Java if: startsWith(matrix.job.target,'android')