Skip to content

Commit ea665cc

Browse files
committed
release workflow: fix artifact upload
environment variables can't be expanded in action args. Also update to actions/checkout@v4.
1 parent f74eda0 commit ea665cc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ jobs:
6262
libgl1-mesa-dev:$ARCH libgles2-mesa-dev:$ARCH libegl1-mesa-dev:$ARCH \
6363
${{ matrix.is-cross && format('gcc-{0} g++-{0}', matrix.target) || '' }}
6464
65-
- uses: actions/checkout@v3
65+
- uses: actions/checkout@v4
6666
with:
6767
submodules: 'recursive'
6868

@@ -91,7 +91,7 @@ jobs:
9191
-DENABLE_OPENGL=ON \
9292
-DENABLE_TESTS=On \
9393
-DBUILD_SENTRY_PLUGIN=OFF \
94-
-DCMAKE_INSTALL_PREFIX=$HOME/flutterpi-dist \
94+
-DCMAKE_INSTALL_PREFIX=${{ github.workspace }}/dist \
9595
-GNinja
9696
9797
- name: Build & Install
@@ -101,7 +101,7 @@ jobs:
101101
uses: actions/upload-artifact@v4
102102
with:
103103
name: flutterpi-${{ matrix.target }}-${{ matrix.buildtype }}
104-
path: $HOME/flutterpi-dist/bin/flutter-pi
104+
path: ${{ github.workspace }}/dist/bin/flutter-pi
105105

106106
publish:
107107
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/release/')

0 commit comments

Comments
 (0)