Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
SOH69 committed Jun 1, 2024
1 parent 1e2c585 commit 944b227
Showing 1 changed file with 5 additions and 18 deletions.
23 changes: 5 additions & 18 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,23 +39,10 @@ jobs:
cp -r ./build ./temp/mm_radio/build/
cd ./temp && zip -r ../mm_radio.zip ./mm_radio
- name: Create GitHub Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Create Release
uses: 'marvinpinto/[email protected]'
id: auto_release
with:
tag_name: ${{ github.ref }}
release_name: ${{ github.ref }} # Use the tag name as the release title
draft: false
repo_token: '${{ secrets.GITHUB_TOKEN }}'
prerelease: false

- name: Upload Release Asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./mm_radio.zip # Path to the zip file
asset_name: mm_radio.zip # Name of the asset
asset_content_type: application/zip
files: mm_radio.zip

0 comments on commit 944b227

Please sign in to comment.