Skip to content

Commit 8a4ba86

Browse files
committed
Reorder publish tasks
1 parent 57879b8 commit 8a4ba86

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

.github/workflows/Android-CI-release.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -33,17 +33,6 @@ jobs:
3333
env:
3434
VERSION: ${{ github.ref }}
3535

36-
- name: Create Release
37-
uses: softprops/action-gh-release@v1
38-
with:
39-
tag_name: ${{steps.tagger.outputs.tag}}
40-
name: ${{steps.tagger.outputs.tag}}
41-
generate_release_notes: true
42-
body: ${{steps.github_release.outputs.changelog}}
43-
files: MPChartLib/build/outputs/aar/MPChartLib-release.aar
44-
env:
45-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
46-
4736
- name: Publish to github package
4837
run: ./gradlew publish
4938
env:
@@ -57,3 +46,14 @@ jobs:
5746
./gradlew publish MPChartLib:publishMavenPublicationToMavenCentralRepository
5847
env:
5948
CRYPT_PASS: ${{ secrets.CRYPT_PASS }}
49+
50+
- name: Create Release
51+
uses: softprops/action-gh-release@v1
52+
with:
53+
tag_name: ${{steps.tagger.outputs.tag}}
54+
name: ${{steps.tagger.outputs.tag}}
55+
generate_release_notes: true
56+
body: ${{steps.github_release.outputs.changelog}}
57+
files: MPChartLib/build/outputs/aar/MPChartLib-release.aar
58+
env:
59+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)