Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
QiubyZ committed Oct 12, 2024
1 parent 547b052 commit 68693c7
Showing 1 changed file with 9 additions and 15 deletions.
24 changes: 9 additions & 15 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,26 +8,20 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Checkout Kode
uses: actions/checkout@v4

- name: Zip Repository
run: zip -r apk-autorelease.zip . -x .git*
run: zip -r apk-autorelease.zip . -x .git* .github/workflows/*

- name: Buat atau Update Tag dan Rilis
id: create_release
uses: actions/create-release@v1
uses: softprops/action-gh-release@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
tag_name: v1
release_name: Release v1
name: Release v1
files: ./apk-autorelease.zip
draft: false
prerelease: false
replace: true # Ganti tag yang sudah ada

- name: Upload Release Asset
uses: actions/upload-release-asset@v1
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./apk-autorelease.zip
asset_name: apk-autorelease-v1.zip
asset_content_type: application/zip
generate_release_notes: false
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 68693c7

Please sign in to comment.