diff options
Diffstat (limited to '')
-rw-r--r-- | .github/workflows/release.yml | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0a16dab..2e742b5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -38,19 +38,17 @@ jobs: name: Install Dependencies run: | sudo apt-get --allow-releaseinfo-change update - sudo apt-get install -y libglfw3-dev libfreetype6-dev + sudo apt-get install -y libglfw3-dev libfreetype6-dev xorg-dev - - name: Go Build Cache + - name: Go Cache uses: actions/cache@v2 with: - path: ${{ steps.go-cache-paths.outputs.go-build }} - key: ${{ runner.os }}-go-build-${{ hashFiles('**/go.sum') }} - - - name: Go Mod Cache - uses: actions/cache@v2 - with: - path: ${{ steps.go-cache-paths.outputs.go-mod }} - key: ${{ runner.os }}-go-mod-${{ hashFiles('**/go.sum') }} + path: | + ${{ steps.go-cache-paths.outputs.go-build }} + ${{ steps.go-cache-paths.outputs.go-mod }} + key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} + restore-keys: | + ${{ runner.os }}-go- - name: Checkout uses: actions/checkout@v2 |