Skip to content

Commit

Permalink
add release section of build uploading artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
lukehmcc committed Jul 19, 2024
1 parent b329d88 commit a9ee69e
Showing 1 changed file with 9 additions and 13 deletions.
22 changes: 9 additions & 13 deletions .github/workflows/build-on-release.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
name: Build On Tag
name: Build On Release

# on:
# release:
# types: [created]
on:
push:
tags:
- "v[0-9]+.[0-9]+.[0-9]+"
release:
types: [created]

jobs:
build-ubuntu:
Expand All @@ -30,12 +26,12 @@ jobs:
sudo apt-get update -y
sudo apt-get install -y ninja-build libgtk-3-dev libnotify-dev
- run: flutter build linux
# - name: Upload release assets
# uses: alexellis/upload-assets@0.4.1
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# with:
# asset_paths: '["./build/web/**", "./build/linux/x64/release/bundle/vup_chat"]'
- name: Upload release assets
uses: alexellis/upload-assets@0.4.1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
asset_paths: '["./build/web/**", "./build/linux/x64/release/bundle/vup_chat"]'
# TODO: Add Windows build

# TODO: Add MacOS & iOS bilds

0 comments on commit a9ee69e

Please sign in to comment.