Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
enm10k committed Jun 28, 2024
1 parent 381a285 commit 0462177
Showing 1 changed file with 11 additions and 13 deletions.
24 changes: 11 additions & 13 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@ name: Flutter Build and Upload

on:
push:
branches:
- 'main'
- 'build/*'
- 'feature/*'
paths-ignore:
- '**.md'

Expand Down Expand Up @@ -52,12 +48,14 @@ jobs:
name: android-app
path: build/app/outputs/flutter-apk/app-release.apk

# - name: Release
# uses: "marvinpinto/action-automatic-releases@latest"
# if: github.ref == 'refs/heads/main'
# with:
# repo_token: "${{ secrets.GITHUB_TOKEN }}"
# automatic_release_tag: "latest"
# prerelease: false
# title: "NocoDB Mobile (Unofficial prototype)"
# files: "build/app/outputs/flutter-apk/app-release.apk"
release:
if: startsWith(github.ref, 'refs/tags/24')
needs:
- build
runs-on: ubuntu-latest
steps:
- name: Create release
uses: softprops/action-gh-release@v2
with:
files: "build/app/outputs/flutter-apk/app-release.apk"
prerelease: ${{ contains(github.ref, 'dev') }}

0 comments on commit 0462177

Please sign in to comment.