Skip to content

Commit

Permalink
checkout FlutterSwift before Flutter
Browse files Browse the repository at this point in the history
  • Loading branch information
lhoward committed Nov 24, 2024
1 parent 3a6e589 commit 9d0cd1b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/swift.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,15 @@ jobs:
apt-get install -y liburing-dev libavahi-compat-libdnssd-dev libavahi-client-dev libwayland-dev wayland-protocols
- name: Set Paths
run: echo "/opt/flutter-elinux/bin" >> $GITHUB_PATH
- name: Checkout FlutterSwift
uses: actions/checkout@v4
- name: Checkout Flutter
run: |
FLUTTER_REVISION=`git describe --tags --abbrev=0`
FLUTTER_ROOT=/opt/flutter-elinux
git clone --depth 1 --branch $FLUTTER_REVISION https://github.com/sony/flutter-elinux $FLUTTER_ROOT
(cd $FLUTTER_ROOT; git switch -c $FLUTTER_REVISION)
$FLUTTER_ROOT/bin/flutter-elinux 2>&1
- name: Checkout FlutterSwift
uses: actions/checkout@v4
- name: Version
run: swift --version
- name: Build FlutterSwift
Expand Down

0 comments on commit 9d0cd1b

Please sign in to comment.