Skip to content

Commit

Permalink
fix linux artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
techno-disaster committed Jun 19, 2021
1 parent 8ff15e6 commit 33f1bcb
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,9 @@ jobs:
with:
channel: 'master'
- name: Enable desktop support
run: flutter config --enable-linux-desktop
run: |
flutter config --enable-linux-desktop
sudo apt-get install clang cmake ninja-build pkg-config libgtk-3-dev
- name: Build Linux app
run: flutter build linux
- name: Create artifact
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- name: Install Flutter
uses: subosito/[email protected]
with:
flutter-version: '2.2.2'
channel: 'master'
- name: Enable desktop support
run: flutter config --enable-windows-desktop
- name: Build Windows app
Expand All @@ -29,10 +29,35 @@ jobs:
uses: papeloto/action-zip@v1
with:
files: ./build/windows/runner/Release/
dest: ./Windows.zip
dest: ./windows.zip
- name: Upload as asset
uses: AButler/[email protected]
with:
files: './Windows.zip'
files: './windows.zip'
repo-token: ${{ secrets.GITHUB_TOKEN }}

build_linux:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/[email protected]
- name: Install Flutter
uses: subosito/[email protected]
with:
channel: 'master'
- name: Enable desktop support
run: |
flutter config --enable-linux-desktop
sudo apt-get install clang cmake ninja-build pkg-config libgtk-3-dev
- name: Build Linux app
run: flutter build linux
- name: Create zip
uses: papeloto/action-zip@v1
with:
files: ./build/linux/x64/release/bundle/
dest: ./linux.zip
- name: Upload as asset
uses: AButler/[email protected]
with:
files: './linux.zip'
repo-token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 33f1bcb

Please sign in to comment.