Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b1119b9b71 | ||
|
|
5837e624ac | ||
|
|
c6553de241 | ||
|
|
70041ea629 | ||
|
|
2d639169ae | ||
|
|
7d79c9c04b | ||
|
|
01cee9687e |
+12
-10
@@ -49,13 +49,19 @@ jobs:
|
|||||||
path: D:\a\Digital-Clock-in-sharpc\Digital-Clock-in-sharpc\Digital Clock\bin\Release\*
|
path: D:\a\Digital-Clock-in-sharpc\Digital-Clock-in-sharpc\Digital Clock\bin\Release\*
|
||||||
retention-days: 1
|
retention-days: 1
|
||||||
env:
|
env:
|
||||||
|
MYID: ${{ steps.artifact-upload-step.outputs.artifact-id }}
|
||||||
MYURL: ${{ steps.artifact-upload-step.outputs.artifact-url }}
|
MYURL: ${{ steps.artifact-upload-step.outputs.artifact-url }}
|
||||||
|
|
||||||
- name: Download Artifact
|
- name: Output artifact ID
|
||||||
uses: actions/download-artifact@v4
|
run: echo 'Artifact ID is ${{ env.MYID }}'
|
||||||
with:
|
|
||||||
name: Release
|
- name: Output artifact URL
|
||||||
path: /bin/Release
|
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
|
- name: Create Release
|
||||||
uses: actions/create-release@latest
|
uses: actions/create-release@latest
|
||||||
@@ -73,10 +79,7 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ github.token }}
|
GITHUB_TOKEN: ${{ github.token }}
|
||||||
with:
|
with:
|
||||||
upload_url: ${MYURL}
|
upload_url: ${{ env.MYURL }}
|
||||||
asset_path: bin/Release
|
|
||||||
asset_name: Release
|
|
||||||
asset_content_type: application/zip
|
|
||||||
|
|
||||||
- name: Upload Release
|
- name: Upload Release
|
||||||
uses: softprops/action-gh-release@v1
|
uses: softprops/action-gh-release@v1
|
||||||
@@ -91,4 +94,3 @@ jobs:
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Reference in New Issue
Block a user