Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
42efe17242 | ||
|
|
1c9902d934 | ||
|
|
377eac2700 | ||
|
|
24a312e2bf | ||
|
|
8845aa2765 | ||
|
|
ddf12f2823 | ||
|
|
8ea8779961 | ||
|
|
3022edecb3 | ||
|
|
c2a96579e4 | ||
|
|
ee5ec01f65 | ||
|
|
f4674c8515 | ||
|
|
5a1877c715 | ||
|
|
cf5607f783 | ||
|
|
a90f31540d | ||
|
|
aeb6b43254 | ||
|
|
0c01ad30c1 | ||
|
|
22bddf5b79 | ||
|
|
66d92940d9 | ||
|
|
b86b1ea8dd | ||
|
|
ab21c9d1b7 | ||
|
|
233d5c9f2e | ||
|
|
f589b6f1bf | ||
|
|
49efbea146 | ||
|
|
da4ad80b8c | ||
|
|
b992b7b804 | ||
|
|
5d9a123932 | ||
|
|
1594d03086 | ||
|
|
176f2d4f95 | ||
|
|
f8597e5d82 | ||
|
|
fe7a3cf044 | ||
|
|
7bb51ec6a8 | ||
|
|
d2d156e31b | ||
|
|
5ccad6ae58 |
+19
-28
@@ -43,33 +43,22 @@ jobs:
|
||||
run: msbuild /m /p:Configuration=${{env.BUILD_CONFIGURATION}} ${{env.SOLUTION_FILE_PATH}}
|
||||
|
||||
- name: Show Github infos
|
||||
run: echo 'Workspace path ${{ github.workspace }}' ##D:\a\Digital-Clock-in-sharpc\Digital-Clock-in-sharpc
|
||||
run: echo 'Workspace path ${{ github.workspace }} - runner.temp ${{ runner.temp }}'
|
||||
|
||||
- name: Upload Artifact
|
||||
uses: actions/upload-artifact@v4
|
||||
id: artifact-upload-step
|
||||
id: upload
|
||||
with:
|
||||
name: Release
|
||||
path: ${{ github.workspace }}\Digital Clock\bin\Release\*
|
||||
overwrite: true
|
||||
retention-days: 1
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ github.token }}
|
||||
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 ${{ steps.artifact-upload-step.outputs.artifact-id }}'
|
||||
run: echo 'Artifact ID is ${{ steps.upload.outputs.artifact-id }}'
|
||||
|
||||
- name: Output Artifact MYURL
|
||||
run: echo 'Artifact URL is ${{ steps.artifact-upload-step.outputs.artifact-url }}'
|
||||
|
||||
- name: Output env.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: Output Artifact URL
|
||||
run: echo 'Artifact URL is ${{ steps.upload.outputs.artifact-url }}'
|
||||
|
||||
- name: Create Release
|
||||
uses: actions/create-release@latest
|
||||
@@ -82,13 +71,12 @@ jobs:
|
||||
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: Zipping up Release folder
|
||||
run: Compress-Archive -Path "${{ github.workspace }}\Digital Clock\bin\Release\" -Destination Release.zip
|
||||
|
||||
- name: test
|
||||
run: ls -R
|
||||
|
||||
- name: Upload Release
|
||||
uses: softprops/action-gh-release@v1
|
||||
with:
|
||||
@@ -96,9 +84,12 @@ jobs:
|
||||
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\*
|
||||
files: D:\a\Digital-Clock-in-sharpc\Digital-Clock-in-sharpc\Release.zip
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ github.token }}
|
||||
|
||||
|
||||
|
||||
GITHUB_TOKEN: ${{ github.token }}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user