Skip to content

Commit

Permalink
Create release
Browse files Browse the repository at this point in the history
  • Loading branch information
bbusse committed Oct 4, 2022
1 parent aa728e4 commit 34ab440
Showing 1 changed file with 20 additions and 3 deletions.
23 changes: 20 additions & 3 deletions .github/workflows/flutter-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,27 @@ jobs:
- run: |
sudo apt-get update -y
sudo apt-get install -y ninja-build libgtk-3-dev
pwd
ls -ahl
- run: flutter create .
- run: flutter pub upgrade
- run: flutter build linux
- run: flutter build web
- run: ls -ahl build/
- name: Create archives
run: |
cd build/linux/x64/release
mv bundle humanbeans-clock
tar -cJvf humanbeans-clock-linux-latest.tar.xz humanbeans-clock
mv humanbeans-clock-linux-latest.tar.xz "$GITHUB_WORKSPACE"/
cd "$GITHUB_WORKSPACE"/humanbeans_clock/build
mv web humanbeans-clock-web
tar -cJvf humanbeans-clock-web-latest.tar.xz humanbeans-clock-web
mv humanbeans-clock-web-latest.tar.xz "$GITHUB_WORKSPACE"/
ls "$GITHUB_WORKSPACE"
- name: Release
uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
prerelease: false
automatic_release_tag: "latest"
files: |
humanbeans-clock-linux-latest.tar.xz
humanbeans-clock-web-latest.tar.xz

0 comments on commit 34ab440

Please sign in to comment.