Skip to content

feat: bump ci actions to latest and use github_output for steps #76

feat: bump ci actions to latest and use github_output for steps

feat: bump ci actions to latest and use github_output for steps #76

Workflow file for this run

name: test
on:
pull_request:
branches:
- master
jobs:
docker:
runs-on: ubuntu-latest
strategy:
matrix:
wine_branch:
- stable
- devel
steps:
-
name: Checkout
uses: actions/checkout@v4
-
name: Set up QEMU
uses: docker/setup-qemu-action@v3
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
-
name: Build and export to local Docker instance
uses: docker/build-push-action@v6
with:
build-args: |
WINE_BRANCH=${{ matrix.wine_branch }}
load: true
tags: docker-wine:latest
-
name: Extract wine version
id: wine_ver
env:
WINE_BRANCH: ${{ matrix.wine_branch }}
run: |
WINE_VER="$(docker run --rm docker-wine /bin/bash -c "dpkg -s wine-${WINE_BRANCH} \
| grep '^Version:\s' | awk '{print \$2}' | sed -E 's/~.*$//'" | tr -d "\r")"
if echo "${WINE_VER}" | grep -q -E "^[0-9]+(\.[0-9]+)*$"; then
echo "Found wine version '${WINE_VER}'"
echo "value=${WINE_VER}" >> $GITHUB_OUTPUT
else
echo "ERROR: Unable to determine wine version"
exit 1
fi
-
name: Test
run: |
./docker-wine --local --rm --xvfb --notty winetricks -q dotnet40