Skip to content

Commit

Permalink
release workflow: fix artifact upload
Browse files Browse the repository at this point in the history
environment variables can't be expanded in action args.

Also update to actions/checkout@v4.
  • Loading branch information
ardera committed Jun 7, 2024
1 parent f74eda0 commit ea665cc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'

Expand Down Expand Up @@ -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
Expand All @@ -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/')
Expand Down

0 comments on commit ea665cc

Please sign in to comment.