Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b752455524 | ||
|
|
8871ea4388 | ||
|
|
38cd5d17e8 | ||
|
|
0a2e4f5dbd | ||
|
|
7f4adaf758 | ||
|
|
1fdee7d04b | ||
|
|
6915a4f171 | ||
|
|
2d2eaf6a21 | ||
|
|
792fbc419e | ||
|
|
af4864454d | ||
|
|
3d7afbc88a | ||
|
|
c64bc17dc2 | ||
|
|
289770a12d | ||
|
|
f220333f17 | ||
|
|
ab2ce11105 | ||
|
|
1f6be4c9fd | ||
|
|
b9740d9828 | ||
|
|
05e81b5874 | ||
|
|
879ae06ed7 | ||
|
|
7e32931c23 | ||
|
|
1eadd44e03 | ||
|
|
7b31213fd9 | ||
|
|
6f17849031 | ||
|
|
93f3a68635 | ||
|
|
b1119b9b71 | ||
|
|
5837e624ac | ||
|
|
c6553de241 | ||
|
|
70041ea629 | ||
|
|
2d639169ae | ||
|
|
7d79c9c04b | ||
|
|
01cee9687e | ||
|
|
316465e293 | ||
|
|
c308df1578 | ||
|
|
29bde69ab4 | ||
|
|
5d305896b8 | ||
|
|
75d35b75ee | ||
|
|
8eb8cea50c |
@@ -42,13 +42,34 @@ jobs:
|
||||
# See https://docs.microsoft.com/visualstudio/msbuild/msbuild-command-line-reference
|
||||
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
|
||||
|
||||
- name: Upload Artifact
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: published
|
||||
path: D:\a\Digital-Clock-in-sharpc\Digital-Clock-in-sharpc\Digital Clock\bin\Release\*
|
||||
name: Release
|
||||
path: ${{ github.workspace }}\Digital Clock\bin\Release\*
|
||||
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: release
|
||||
- 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: Create Release
|
||||
uses: actions/create-release@latest
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ github.token }}
|
||||
@@ -64,10 +85,7 @@ jobs:
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ github.token }}
|
||||
with:
|
||||
upload_url: ${{ steps.create_release.outputs.upload_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 +100,3 @@ jobs:
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user