From 2ec7145252e445704f22fd8c417fb38cf73d4db0 Mon Sep 17 00:00:00 2001 From: DmitriyLewen Date: Tue, 19 Oct 2021 16:19:39 +0600 Subject: [PATCH] change release to ncipollo releaser --- .github/workflows/buildapp.yml | 23 +++-------------------- 1 file changed, 3 insertions(+), 20 deletions(-) diff --git a/.github/workflows/buildapp.yml b/.github/workflows/buildapp.yml index f1b4b1c..9e7cfa6 100644 --- a/.github/workflows/buildapp.yml +++ b/.github/workflows/buildapp.yml @@ -13,21 +13,6 @@ jobs: - name: Checkout code uses: actions/checkout@v2 - - name: Create Release - id: create_release - uses: actions/create-release@v1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token - with: - tag_name: ${{ github.ref }} - release_name: Release ${{ github.ref }} - body: | - Changes in this Release - - First Change - - Second Change - draft: false - prerelease: false - - name: Set Up flutter uses: subosito/flutter-action@v1 @@ -37,9 +22,7 @@ jobs: - name: Build app run: flutter build apk --release - - name: Upload to release - uses: JasonEtco/upload-to-release@master + - uses: ncipollo/release-action@v1 with: - args: app-release.apk - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + artifacts: "build/app/outputs/flutter-apk/*.apk" + token: ${{ secrets.GITHUB_TOKEN }}