Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b1119b9b71 | ||
|
|
5837e624ac | ||
|
|
c6553de241 | ||
|
|
70041ea629 | ||
|
|
2d639169ae | ||
|
|
7d79c9c04b |
@@ -49,8 +49,20 @@ jobs:
|
||||
path: D:\a\Digital-Clock-in-sharpc\Digital-Clock-in-sharpc\Digital Clock\bin\Release\*
|
||||
retention-days: 1
|
||||
env:
|
||||
MYID: ${{ steps.artifact-upload-step.outputs.artifact-id }}
|
||||
MYURL: ${{ steps.artifact-upload-step.outputs.artifact-url }}
|
||||
|
||||
- name: Output artifact ID
|
||||
run: echo 'Artifact ID is ${{ env.MYID }}'
|
||||
|
||||
- name: Output artifact URL
|
||||
run: echo 'Artifact URL is ${{ env.MYURL }}'
|
||||
|
||||
|
||||
##- name: Get Artifact URL
|
||||
## run: echo "::set-output name=artifact_url::https://github.com/ELY3M/suites/$GITHUB_RUN_ID/artifacts/Release.zip"
|
||||
|
||||
|
||||
- name: Create Release
|
||||
uses: actions/create-release@latest
|
||||
env:
|
||||
@@ -67,10 +79,7 @@ jobs:
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ github.token }}
|
||||
with:
|
||||
upload_url: ${{ steps.create_release.outputs.upload_url }}
|
||||
asset_path: D:\a\Digital-Clock-in-sharpc\Digital-Clock-in-sharpc\Digital Clock\bin\Release\Release.zip
|
||||
asset_name: Release.zip
|
||||
asset_content_type: application/zip
|
||||
upload_url: ${{ env.MYURL }}
|
||||
|
||||
- name: Upload Release
|
||||
uses: softprops/action-gh-release@v1
|
||||
@@ -85,4 +94,3 @@ jobs:
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user