Skip to content

Commit

Permalink
Use wine cache for pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
Apostolique committed Dec 11, 2023
1 parent 7a6c796 commit 2bd9835
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,15 @@ jobs:
run: |
TAGVERSION=$(git describe --tags --abbrev=0)
echo "TAGVERSION=${TAGVERSION:1}" >> $GITHUB_ENV
- name: Restore cached wine
id: cache-wine-restore
uses: actions/cache/restore@v3
with:
path: |
/home/runner/.winemonogame
key: ${{ runner.os }}-wine
- name: Setup Wine
if: steps.cache-wine-restore.outputs.cache-hit != 'true'
run: |
sudo apt update
sudo apt install wine64 p7zip-full
Expand Down Expand Up @@ -70,3 +78,10 @@ jobs:
ITCH_USER: ${{ env.ITCH_USER_NAME }}
PACKAGE: artifacts/linux
VERSION: ${{ env.TAGVERSION }}
- name: Save wine
id: cache-wine-save
uses: actions/cache/save@v3
with:
path: |
/home/runner/.winemonogame
key: ${{ steps.cache-wine-restore.outputs.cache-primary-key }}

0 comments on commit 2bd9835

Please sign in to comment.