Skip to content

Commit

Permalink
release workflow: workaround github actions bug
Browse files Browse the repository at this point in the history
Github actions is broken and expands ${{ github.workspace }} to different paths depending on context: actions/runner#2058
  • Loading branch information
ardera committed Jun 7, 2024
1 parent ea665cc commit 1178ebc
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ jobs:
-DENABLE_OPENGL=ON \
-DENABLE_TESTS=On \
-DBUILD_SENTRY_PLUGIN=OFF \
-DCMAKE_INSTALL_PREFIX=${{ github.workspace }}/dist \
-DCMAKE_INSTALL_PREFIX=$PWD/dist \
-GNinja
- name: Build & Install
Expand All @@ -101,7 +101,8 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: flutterpi-${{ matrix.target }}-${{ matrix.buildtype }}
path: ${{ github.workspace }}/dist/bin/flutter-pi
path: dist/bin/flutter-pi
if-no-files-found: error

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

0 comments on commit 1178ebc

Please sign in to comment.