diff --git a/.github/workflows/wine-update.yml b/.github/workflows/wine-update.yml index f2463f6..8edaa35 100644 --- a/.github/workflows/wine-update.yml +++ b/.github/workflows/wine-update.yml @@ -19,15 +19,12 @@ jobs: - name: Get Latest Wine Version id: wine run: | - echo ::set-output name=release_tag::$(curl -sL https://hub.docker.com/v2/namespaces/panard/repositories/wine/tags | jq -r '.results[].name' | grep '\-wow64$' | head -n1) - echo ::set-output name=current_tag::$(grep FROM Dockerfile|cut -d: -f2) + echo LATEST_TAG=$(curl -sL https://hub.docker.com/v2/namespaces/panard/repositories/wine/tags | jq -r '.results[].name' | grep '\-wow64$' | head -n1) >> $GITHUB_ENV + echo CURRENT_TAG=$(grep FROM Dockerfile|cut -d: -f2) >> $GITHUB_ENV - name: Update Wine - if: steps.wine.outputs.current_tag != steps.wine.outputs.release_tag - env: - RELEASE_TAG: ${{ steps.wine.outputs.release_tag }} + if: env.CURRENT_TAG != env.LATEST_TAG run: | - sed -i "s:FROM .*$:FROM panard/wine:$RELEASE_TAG" docker-wine/Dockerfile - sed -i "s:^\(It is based on .* wine \)[^ ]*[0-9]:\1$RELEASE_TAG:" README.md + sed -i "s:FROM .*$:FROM panard/wine:$LATEST_TAG" docker-wine/Dockerfile - name: Create Pull Request uses: peter-evans/create-pull-request@v3.5.0 with: diff --git a/README.md b/README.md index 0f7c60f..57ff48a 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ and macOS. Join the "WineHQ Players" clan! (Account > Buddies, Clan, Chat > Look for WineHQ Players and contact the captain, or send a mail to panard at inzenet dot org with your MTGO user name) -It is based on an amd64 [debian:stable-slim](https://hub.docker.com/r/_/debian/) Linux distribution and [WineHQ](https://www.winehq.org/) 9.0-rc3 with WOW64 support. +It is based on an amd64 [debian:stable-slim](https://hub.docker.com/r/_/debian/) Linux distribution and [WineHQ](https://www.winehq.org/) with WOW64 support. See https://appdb.winehq.org/objectManager.php?sClass=version&iId=32007 for more information.