Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
879ae06ed7 | ||
|
|
7e32931c23 | ||
|
|
1eadd44e03 | ||
|
|
7b31213fd9 | ||
|
|
6f17849031 | ||
|
|
93f3a68635 | ||
|
|
b1119b9b71 | ||
|
|
5837e624ac | ||
|
|
c6553de241 | ||
|
|
70041ea629 | ||
|
|
2d639169ae | ||
|
|
7d79c9c04b | ||
|
|
01cee9687e | ||
|
|
316465e293 | ||
|
|
c308df1578 | ||
|
|
29bde69ab4 |
+15
-10
@@ -45,13 +45,22 @@ jobs:
|
|||||||
- name: Upload Artifact
|
- name: Upload Artifact
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: published
|
name: Release
|
||||||
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:
|
||||||
|
GITHUB_TOKEN: ${{ github.token }}
|
||||||
|
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: release
|
- name: Output MYURL
|
||||||
|
run: echo 'Artifact URL is ${{ env.MYURL }}'
|
||||||
|
|
||||||
|
- name: Output artifact URL test1
|
||||||
|
run: echo 'Artifact URL is ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}/artifacts/${{ steps.artifact-upload-step.outputs.artifact-id }}'
|
||||||
|
|
||||||
|
|
||||||
|
- name: Create Release
|
||||||
uses: actions/create-release@latest
|
uses: actions/create-release@latest
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ github.token }}
|
GITHUB_TOKEN: ${{ github.token }}
|
||||||
@@ -67,10 +76,7 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ github.token }}
|
GITHUB_TOKEN: ${{ github.token }}
|
||||||
with:
|
with:
|
||||||
upload_url: ${MYURL}
|
upload_url: ${{ env.MYURL }}
|
||||||
asset_path: ${{ steps.extract.outputs.destination }}
|
|
||||||
asset_name: ${{ steps.extract.outputs.destination }}
|
|
||||||
asset_content_type: application/zip
|
|
||||||
|
|
||||||
- name: Upload Release
|
- name: Upload Release
|
||||||
uses: softprops/action-gh-release@v1
|
uses: softprops/action-gh-release@v1
|
||||||
@@ -83,6 +89,5 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ github.token }}
|
GITHUB_TOKEN: ${{ github.token }}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Reference in New Issue
Block a user