Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a90f31540d | ||
|
|
aeb6b43254 | ||
|
|
0c01ad30c1 | ||
|
|
22bddf5b79 | ||
|
|
66d92940d9 | ||
|
|
b86b1ea8dd | ||
|
|
ab21c9d1b7 | ||
|
|
233d5c9f2e | ||
|
|
f589b6f1bf | ||
|
|
49efbea146 | ||
|
|
da4ad80b8c | ||
|
|
b992b7b804 | ||
|
|
5d9a123932 | ||
|
|
1594d03086 | ||
|
|
176f2d4f95 | ||
|
|
f8597e5d82 | ||
|
|
fe7a3cf044 | ||
|
|
7bb51ec6a8 | ||
|
|
d2d156e31b | ||
|
|
5ccad6ae58 | ||
|
|
242ebfa1a9 | ||
|
|
e2d44a752f | ||
|
|
1f3576c787 | ||
|
|
47252f024f |
+21
-29
@@ -43,31 +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: upload
|
||||
with:
|
||||
name: Release
|
||||
path: ${{ github.workspace }}\Digital Clock\bin\Release\*
|
||||
overwrite: true
|
||||
retention-days: 1
|
||||
run: |
|
||||
echo "MYID: ${{ steps.artifact-upload-step.outputs.artifact-id }}"
|
||||
echo "MYURL: ${{ steps.artifact-upload-step.outputs.artifact-url }}"
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ github.token }}
|
||||
MYID: ${{ steps.artifact-upload-step.outputs.artifact-id }}
|
||||
MYURL: ${{ steps.artifact-upload-step.outputs.artifact-url }}
|
||||
|
||||
- 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 ID
|
||||
run: echo 'Artifact ID is ${{ steps.upload.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
|
||||
@@ -80,13 +71,11 @@ 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: testing
|
||||
run: |
|
||||
Compress-Archive -Path ${{ github.workspace }}\Digital Clock\bin\Release\* -Destination Release.zip
|
||||
ls -R
|
||||
|
||||
- name: Upload Release
|
||||
uses: softprops/action-gh-release@v1
|
||||
with:
|
||||
@@ -94,9 +83,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: build/Release.zip
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ github.token }}
|
||||
|
||||
|
||||
|
||||
GITHUB_TOKEN: ${{ github.token }}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user