From ea665cc2516aa3cfb2c52a3bcfe07df8d2f79047 Mon Sep 17 00:00:00 2001 From: Hannes Winkler Date: Sat, 8 Jun 2024 00:56:41 +0200 Subject: [PATCH] release workflow: fix artifact upload environment variables can't be expanded in action args. Also update to actions/checkout@v4. --- .github/workflows/release.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a6fb33d8..77e3dcf7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -62,7 +62,7 @@ jobs: libgl1-mesa-dev:$ARCH libgles2-mesa-dev:$ARCH libegl1-mesa-dev:$ARCH \ ${{ matrix.is-cross && format('gcc-{0} g++-{0}', matrix.target) || '' }} - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: submodules: 'recursive' @@ -91,7 +91,7 @@ jobs: -DENABLE_OPENGL=ON \ -DENABLE_TESTS=On \ -DBUILD_SENTRY_PLUGIN=OFF \ - -DCMAKE_INSTALL_PREFIX=$HOME/flutterpi-dist \ + -DCMAKE_INSTALL_PREFIX=${{ github.workspace }}/dist \ -GNinja - name: Build & Install @@ -101,7 +101,7 @@ jobs: uses: actions/upload-artifact@v4 with: name: flutterpi-${{ matrix.target }}-${{ matrix.buildtype }} - path: $HOME/flutterpi-dist/bin/flutter-pi + path: ${{ github.workspace }}/dist/bin/flutter-pi publish: if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/release/')