Skip to content
This repository was archived by the owner on Aug 31, 2023. It is now read-only.

Commit 0318ef1

Browse files
committed
feat: Replace softprops/action-gh-release with ncipollo/release-action
Had troubles creating the release together with the tag and opted switch to ncipollo/release-action as this comes with a tag out-of-the-box.
1 parent 18a955c commit 0318ef1

File tree

1 file changed

+6
-13
lines changed

1 file changed

+6
-13
lines changed

.github/workflows/create_release.yml

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ jobs:
9191
SIGNING_STORE_PASSWORD: ${{ secrets.ANDROID_UPLOAD_SIGNING_STORE_PASSWORD }}
9292
ENCODED_KEYSTORE: ${{ secrets.ANDROID_UPLOAD_KEYSTORE }}
9393

94-
- name: Upload APK to Github Packages
94+
- name: Upload APK to job
9595
uses: actions/upload-artifact@v3
9696
with:
9797
name: ${{steps.build.outputs.ANDROID_APK_NAME}}
@@ -119,21 +119,14 @@ jobs:
119119
with:
120120
version: ${{ steps.extract-version.outputs.version }}
121121

122-
- name: Create tag
123-
uses: rickstaa/action-create-tag@v1
124-
env:
125-
GITHUB_TOKEN: ${{ secrets.TENTENONE_GITHUB_TOKEN }}
126-
with:
127-
tag: ${{ steps.extract-version.outputs.version }}
128-
message: ${{ steps.changelog.outputs.description }}
129-
130122
- uses: actions/download-artifact@v3
131123
with:
132124
name: ${{ needs.build.outputs.ANDROID_APK_NAME }}
133125

134126
- name: Create release
135-
uses: softprops/action-gh-release@v1
136-
env:
137-
GITHUB_TOKEN: ${{ secrets.TENTENONE_GITHUB_TOKEN }}
127+
uses: ncipollo/release-action@v1
138128
with:
139-
files: ${{ needs.build.outputs.ANDROID_APK_NAME }}
129+
artifacts: ${{ needs.build.outputs.ANDROID_APK_NAME }}
130+
body: ${{ steps.changelog.outputs.description }}
131+
token: ${{ secrets.TENTENONE_GITHUB_TOKEN }}
132+
tag: ${{ steps.extract-version.outputs.version }}

0 commit comments

Comments
 (0)