Skip to content

Commit

Permalink
workflow: modified workflow file
Browse files Browse the repository at this point in the history
  • Loading branch information
forkimenjeckayang committed Jun 12, 2024
1 parent 6e4db9e commit 4db470e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,18 +30,20 @@ jobs:
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: v${{ env.RELEASE_TIME }}
release_name: Release v${{ env.RELEASE_TIME }}
draft: false
prerelease: false
token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}

- name: Upload Source Code Package
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: release/source-code-${{ env.RELEASE_TIME }}.zip
asset_name: source-code-${{ env.RELEASE_TIME }}.zip
asset_content_type: application/zip
token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}

0 comments on commit 4db470e

Please sign in to comment.