-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
COE-1021: add zip source code step in release.yml (#91)
* COE-1021: Delete upload source code steps * COE-1021: Remove $ which make latest release variable to be faulted --------- Co-authored-by: Nam Nhat Pham <[email protected]>
- Loading branch information
1 parent
a302dad
commit c8ea019
Showing
1 changed file
with
3 additions
and
13 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 |
---|---|---|
|
@@ -8,7 +8,7 @@ on: | |
release_body: | ||
type: string | ||
description: GitHub Release Message | ||
default: "Release version ${GITHUB_RUN_NUMBER}" | ||
default: "New Release" | ||
|
||
environment: | ||
type: environment | ||
|
@@ -45,7 +45,7 @@ jobs: | |
with: | ||
draft: false | ||
prerelease: false | ||
release_name: v1.0.$${{ needs.call-build-workflow.outputs.release_version }} | ||
release_name: v1.0.${{ needs.call-build-workflow.outputs.release_version }} | ||
tag_name: v1.0.${{ needs.call-build-workflow.outputs.release_version }} | ||
body: ${{ inputs.release_body }} | ||
env: | ||
|
@@ -59,14 +59,4 @@ jobs: | |
upload_url: ${{ steps.create_release.outputs.upload_url }} # upload_url output is provided automatically by the GitHub API when the release is created | ||
asset_path: 'repo/simulators/oee-simulators.zip' | ||
asset_name: 'oee-simulators.zip' | ||
asset_content_type: application/zip | ||
|
||
- name: Upload source-code zip | ||
uses: actions/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ github.token }} | ||
with: | ||
upload_url: ${{ steps.create_release.outputs.upload_url }} | ||
asset_path: 'source-code.zip' | ||
asset_name: 'oee-simulators-src.zip' | ||
asset_content_type: application/zip | ||
asset_content_type: application/zip |