-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
3 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,28 +41,24 @@ runs: | |
- name: Upload APK to Artifacts | ||
uses: actions/[email protected] | ||
with: | ||
#env: # Pindahkan env ke dalam with | ||
#GITHUB_TOKEN: ${{ github.token }} | ||
name: ${{ github.repository }} | ||
path: ${{ inputs.file_output }} | ||
|
||
- name: Create Release and Upload Asset | ||
id: release-id | ||
uses: actions/create-release@v1 | ||
env: # Pindahkan env ke dalam with | ||
GITHUB_TOKEN: ${{ github.token }} | ||
with: | ||
#env: # Pindahkan env ke dalam with | ||
#GITHUB_TOKEN: ${{ github.token }} | ||
tag_name: "${{ inputs.tag }}-${{ github.run_number }}" | ||
release_name: ${{ github.repository }} | ||
body: ${{ inputs.body_release }} | ||
draft: false | ||
prerelease: false | ||
# Upload asset setelah release dibuat di step yang sama | ||
continue-on-error: true # Lanjutkan jika upload asset gagal | ||
- uses: actions/upload-release-asset@v1 | ||
env: | ||
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} | ||
|
||
- uses: actions/upload-release-asset@v1 | ||
with: | ||
upload_url: ${{ steps.release-id.outputs.upload_url }} | ||
asset_path: ${{ inputs.file_output }} | ||
|