Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0c01ad30c1 | ||
|
|
22bddf5b79 | ||
|
|
66d92940d9 | ||
|
|
b86b1ea8dd | ||
|
|
ab21c9d1b7 | ||
|
|
233d5c9f2e | ||
|
|
f589b6f1bf | ||
|
|
49efbea146 | ||
|
|
da4ad80b8c | ||
|
|
b992b7b804 | ||
|
|
5d9a123932 | ||
|
|
1594d03086 | ||
|
|
176f2d4f95 | ||
|
|
f8597e5d82 | ||
|
|
fe7a3cf044 | ||
|
|
7bb51ec6a8 | ||
|
|
d2d156e31b | ||
|
|
5ccad6ae58 | ||
|
|
242ebfa1a9 | ||
|
|
e2d44a752f | ||
|
|
1f3576c787 | ||
|
|
47252f024f | ||
|
|
b752455524 | ||
|
|
8871ea4388 | ||
|
|
38cd5d17e8 | ||
|
|
0a2e4f5dbd | ||
|
|
7f4adaf758 | ||
|
|
1fdee7d04b | ||
|
|
6915a4f171 | ||
|
|
2d2eaf6a21 | ||
|
|
792fbc419e | ||
|
|
af4864454d | ||
|
|
3d7afbc88a | ||
|
|
c64bc17dc2 | ||
|
|
289770a12d | ||
|
|
f220333f17 | ||
|
|
ab2ce11105 | ||
|
|
1f6be4c9fd | ||
|
|
b9740d9828 | ||
|
|
05e81b5874 | ||
|
|
879ae06ed7 | ||
|
|
7e32931c23 | ||
|
|
1eadd44e03 | ||
|
|
7b31213fd9 | ||
|
|
6f17849031 |
+23
-31
@@ -42,32 +42,23 @@ jobs:
|
|||||||
# See https://docs.microsoft.com/visualstudio/msbuild/msbuild-command-line-reference
|
# See https://docs.microsoft.com/visualstudio/msbuild/msbuild-command-line-reference
|
||||||
run: msbuild /m /p:Configuration=${{env.BUILD_CONFIGURATION}} ${{env.SOLUTION_FILE_PATH}}
|
run: msbuild /m /p:Configuration=${{env.BUILD_CONFIGURATION}} ${{env.SOLUTION_FILE_PATH}}
|
||||||
|
|
||||||
|
- name: Show Github infos
|
||||||
|
run: echo 'Workspace path ${{ github.workspace }} - runner.temp ${{ runner.temp }}'
|
||||||
|
|
||||||
- name: Upload Artifact
|
- name: Upload Artifact
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
|
id: upload
|
||||||
with:
|
with:
|
||||||
name: Release
|
name: Release
|
||||||
path: D:\a\Digital-Clock-in-sharpc\Digital-Clock-in-sharpc\Digital Clock\bin\Release\*
|
path: ${{ github.workspace }}\Digital Clock\bin\Release\*
|
||||||
|
overwrite: true
|
||||||
retention-days: 1
|
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
|
- name: Output artifact ID
|
||||||
run: echo 'Artifact ID is ${{ env.MYID }}'
|
run: echo 'Artifact ID is ${{ steps.upload.outputs.artifact-id }}'
|
||||||
|
|
||||||
- name: Output artifact URL env
|
- name: Output Artifact URL
|
||||||
run: echo 'Artifact URL is ${{ env.MYURL }}'
|
run: echo 'Artifact URL is ${{ steps.upload.outputs.artifact-url }}'
|
||||||
|
|
||||||
|
|
||||||
##- 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
|
- name: Create Release
|
||||||
uses: actions/create-release@latest
|
uses: actions/create-release@latest
|
||||||
@@ -80,13 +71,11 @@ jobs:
|
|||||||
tag_name: ${{ github.run_number }}
|
tag_name: ${{ github.run_number }}
|
||||||
body: ${{ github.event.head_commit.message }}
|
body: ${{ github.event.head_commit.message }}
|
||||||
|
|
||||||
- name: Upload Release Asset
|
- name: testing
|
||||||
uses: actions/upload-release-asset@v1
|
run: |
|
||||||
env:
|
ls -R
|
||||||
GITHUB_TOKEN: ${{ github.token }}
|
ls -la ${{ github.workspace }}\Digital Clock\bin\Release\
|
||||||
with:
|
|
||||||
upload_url: ${{ env.MYURL }}
|
|
||||||
|
|
||||||
- name: Upload Release
|
- name: Upload Release
|
||||||
uses: softprops/action-gh-release@v1
|
uses: softprops/action-gh-release@v1
|
||||||
with:
|
with:
|
||||||
@@ -94,9 +83,12 @@ jobs:
|
|||||||
prerelease: false
|
prerelease: false
|
||||||
tag_name: ${{ github.run_number }}
|
tag_name: ${{ github.run_number }}
|
||||||
body: ${{ github.event.head_commit.message }}
|
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:
|
env:
|
||||||
GITHUB_TOKEN: ${{ github.token }}
|
GITHUB_TOKEN: ${{ github.token }}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Reference in New Issue
Block a user