Skip to content

Commit 7365889

Browse files
authored
Update build-release.yml
1 parent 57a3811 commit 7365889

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/build-release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Build and Release
33
on:
44
pull_request:
55
branches:
6-
- test
6+
- main
77
types:
88
- closed
99

@@ -23,7 +23,7 @@ jobs:
2323
with:
2424
release_name: ${{ github.event.pull_request.title }} #pull request title
2525
body: ${{ github.event.pull_request.body }}
26-
tag_name: ${{ steps.create_short_sha.outputs.sha_short }}
26+
tag_name: ${{ github.event.pull_request.title }}
2727
env:
2828
GITHUB_TOKEN: ${{ github.token }}
2929

@@ -60,7 +60,7 @@ jobs:
6060
with:
6161
upload_url: ${{ needs.create-release.outputs.upload_url }}
6262
asset_path: ${{ github.workspace }}/build/app/outputs/flutter-apk/app-release.apk
63-
asset_name: corecoder_develop_${{ needs.jobs.create-release.outputs.sha_short }}.apk
63+
asset_name: corecoder_develop_android.apk
6464
asset_content_type: application/gzip
6565
build-windows:
6666
name: Build windows and upload
@@ -86,5 +86,5 @@ jobs:
8686
with:
8787
upload_url: ${{ needs.create-release.outputs.upload_url }}
8888
asset_path: ${{ github.workspace }}/windows_build.zip
89-
asset_name: corecoder_develop_${{ needs.jobs.create-release.outputs.sha_short }}.zip
89+
asset_name: corecoder_develop_windows.zip
9090
asset_content_type: application/gzip

0 commit comments

Comments
 (0)