From 139de66a059e39da5046f82d32b577e03473607c Mon Sep 17 00:00:00 2001 From: sewn Date: Sat, 17 Feb 2024 22:40:47 +0300 Subject: [PATCH] this is ugly --- .github/workflows/wine.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/wine.yml b/.github/workflows/wine.yml index 197ed4f..d06e99e 100644 --- a/.github/workflows/wine.yml +++ b/.github/workflows/wine.yml @@ -54,7 +54,6 @@ jobs: - name: 'Fetch Wine' run: | - mkdir -p ${{ env.WINE_PREFIX }} git clone https://gitlab.winehq.org/wine/wine.git --depth 1 \ --branch wine-${{ env.WINE_VERSION }} @@ -74,6 +73,7 @@ jobs: - name: 'Configure Wine' working-directory: wine run: | + mkdir -p ${{ env.WINE_PREFIX }} ./configure \ CC='ccache gcc' \ x86_64_CC='ccache x86_64-w64-mingw32-gcc' \ @@ -117,10 +117,11 @@ jobs: - name: Make artifacts run: | + cd $(dirname ${{ env.WINE_PREFIX }}) XZ_OPT=-9 tar -Jcf ${{ env.WINE_ARCHIVE }} $(basename ${{ env.WINE_PREFIX }}) - name: Upload artifacts uses: actions/upload-artifact@v4 with: name: wine-vinegarhq-build-${{ env.WINE_VERSION }} - path: ${{ env.WINE_ARCHIVE }} + path: ${{ env.WINE_ARCHIVE }} \ No newline at end of file