diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 08d7265..8aeb8d7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -4,6 +4,9 @@ on: release: types: [published] +permissions: + contents: write + jobs: release: name: 'Build and publish to GitHub' @@ -29,8 +32,8 @@ jobs: - name: 'Get dependencies' run: flutter pub get - name: 'Build' - run: flutter build apk + run: flutter build apk --split-per-abi - name: Release uses: softprops/action-gh-release@v1 with: - files: build/app/outputs/apk/release/app-release.apk \ No newline at end of file + files: build/app/outputs/apk/release/app-*-release.apk \ No newline at end of file