Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d2d156e31b | ||
|
|
5ccad6ae58 | ||
|
|
242ebfa1a9 | ||
|
|
e2d44a752f | ||
|
|
1f3576c787 |
+14
-27
@@ -47,27 +47,17 @@ jobs:
|
||||
|
||||
- name: Upload Artifact
|
||||
uses: actions/upload-artifact@v4
|
||||
id: upload
|
||||
with:
|
||||
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: 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 +70,6 @@ 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: Upload Release
|
||||
uses: softprops/action-gh-release@v1
|
||||
with:
|
||||
@@ -94,9 +77,13 @@ 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: ${{ github.workspace }}\Digital Clock\bin\Release\*
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ github.token }}
|
||||
GITHUB_TOKEN: ${{ github.token }}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user