Skip to content

Commit

Permalink
update ci
Browse files Browse the repository at this point in the history
  • Loading branch information
DawnMagnet committed Mar 2, 2024
1 parent 4d0fd2f commit 3e2494a
Showing 1 changed file with 25 additions and 23 deletions.
48 changes: 25 additions & 23 deletions .github/workflows/flutter-workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@ jobs:
with:
name: release-artifacts
path: |
build/app/outputs/apk/release/
build/web/
build/linux/x64/release/bundle/
build/app/outputs/flutter-apk/*
build/web/*
build/linux/x64/release/bundle/*
release-on-ubuntu:
needs: build-and-release-on-ubuntu
Expand All @@ -73,9 +73,9 @@ jobs:
prerelease: false
title: "Development Build"
files: |
build/app/outputs/apk/release/*.apk
build/web/
build/linux/x64/release/bundle/
build/app/outputs/flutter-apk/*.apk
build/web
build/linux/x64/release/bundle
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down Expand Up @@ -109,21 +109,6 @@ jobs:
build/ios/iphoneos/Runner.app
build/macos/Build/Products/Release/Runner.app
build-and-release-on-windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- uses: subosito/flutter-action@v2
with:
channel: "stable"
- run: flutter build windows

- name: Upload artifacts
uses: actions/upload-artifact@v2
with:
name: release-artifacts
path: |
build/windows/x64/runner/Release/
release-on-macos:
needs: build-and-release-on-macos
runs-on: ubuntu-latest
Expand All @@ -142,7 +127,8 @@ jobs:
prerelease: false
title: "Development Build"
files: |
build/windows/x64/runner/Release/*.exe
build/ios/iphoneos/Runner.app
build/macos/Build/Products/Release/Runner.app
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -164,7 +150,23 @@ jobs:
prerelease: false
title: "Development Build"
files: |
build/windows/runner/Release/*.exe
build/windows/x64/runner/Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

build-and-release-on-windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- uses: subosito/flutter-action@v2
with:
channel: "stable"
- run: flutter build windows

- name: Upload artifacts
uses: actions/upload-artifact@v2
with:
name: release-artifacts
path: |
build/windows/x64/runner/Release/*.exe

0 comments on commit 3e2494a

Please sign in to comment.