Skip to content

Commit

Permalink
Ubah Lagi
Browse files Browse the repository at this point in the history
  • Loading branch information
QiubyZ committed Sep 10, 2024
1 parent e360dd3 commit c362552
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit c362552

Please sign in to comment.