Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
93f3a68635 | ||
|
|
b1119b9b71 | ||
|
|
5837e624ac | ||
|
|
c6553de241 | ||
|
|
70041ea629 | ||
|
|
2d639169ae | ||
|
|
7d79c9c04b | ||
|
|
01cee9687e | ||
|
|
316465e293 | ||
|
|
c308df1578 | ||
|
|
29bde69ab4 | ||
|
|
5d305896b8 | ||
|
|
75d35b75ee | ||
|
|
8eb8cea50c | ||
|
|
45fcfcbc43 | ||
|
|
47311a2513 | ||
|
|
1297c6ae9b | ||
|
|
13d948ac3b | ||
|
|
c0d1471e60 | ||
|
|
e6a4608999 | ||
|
|
590150e80c | ||
|
|
2ba1091027 | ||
|
|
569467f43f | ||
|
|
a536d68d40 | ||
|
|
da59fce84a | ||
|
|
8ef6b42bc6 | ||
|
|
34abc64ed0 |
+45
-22
@@ -45,9 +45,31 @@ 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\*
|
||||
- name: release
|
||||
retention-days: 1
|
||||
env:
|
||||
MYID: ${{ steps.artifact-upload-step.outputs.artifact-id }}
|
||||
MYURL: ${{ steps.artifact-upload-step.outputs.artifact-url }}
|
||||
|
||||
- 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: Output artifact URL test2
|
||||
run: echo 'Artifact URL is ${{ steps.artifact-upload-step.outputs.artifact-url }}'
|
||||
|
||||
- name: Output artifact ID
|
||||
run: echo 'Artifact ID is ${{ env.MYID }}'
|
||||
|
||||
- name: Output artifact URL env
|
||||
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:
|
||||
GITHUB_TOKEN: ${{ github.token }}
|
||||
@@ -55,25 +77,26 @@ jobs:
|
||||
draft: false
|
||||
prerelease: false
|
||||
release_name: ${{ steps.version.outputs.version }}
|
||||
tag_name: ${{ github.event.head_commit.message }}
|
||||
body_path: ${{ github.event.head_commit.message }}
|
||||
- name: Dump vars context
|
||||
run: echo ${{ toJSON(vars) }}
|
||||
tag_name: ${{ github.run_number }}
|
||||
body: ${{ github.event.head_commit.message }}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
- name: Upload Release Asset
|
||||
uses: actions/upload-release-asset@v1
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ github.token }}
|
||||
with:
|
||||
upload_url: ${{ env.MYURL }}
|
||||
|
||||
|
||||
- name: Upload Release
|
||||
uses: softprops/action-gh-release@v1
|
||||
with:
|
||||
draft: false
|
||||
prerelease: false
|
||||
tag_name: ${{ github.run_number }}
|
||||
body: ${{ github.event.head_commit.message }}
|
||||
files: D:\a\Digital-Clock-in-sharpc\Digital-Clock-in-sharpc\Digital Clock\bin\Release\*
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ github.token }}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user