Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c6553de241 | ||
|
|
70041ea629 | ||
|
|
2d639169ae | ||
|
|
7d79c9c04b | ||
|
|
01cee9687e | ||
|
|
316465e293 | ||
|
|
c308df1578 | ||
|
|
29bde69ab4 | ||
|
|
5d305896b8 | ||
|
|
75d35b75ee |
@@ -45,10 +45,21 @@ jobs:
|
||||
- name: Upload Artifact
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: published
|
||||
name: Release
|
||||
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: release
|
||||
- name: Output artifact ID
|
||||
run: echo 'Artifact ID is ${{ env.MYID }}'
|
||||
|
||||
##- 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:
|
||||
GITHUB_TOKEN: ${{ github.token }}
|
||||
@@ -64,10 +75,7 @@ jobs:
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ github.token }}
|
||||
with:
|
||||
upload_url: ${{ steps.artifact-upload-step.outputs.artifact-url }}
|
||||
asset_path: ${{ steps.extract.outputs.destination }}
|
||||
asset_name: ${{ steps.extract.outputs.destination }}
|
||||
asset_content_type: application/zip
|
||||
upload_url: ${{ env.MYURL }}
|
||||
|
||||
- name: Upload Release
|
||||
uses: softprops/action-gh-release@v1
|
||||
@@ -82,4 +90,3 @@ jobs:
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user