Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
01cee9687e | ||
|
|
316465e293 | ||
|
|
c308df1578 | ||
|
|
29bde69ab4 | ||
|
|
5d305896b8 | ||
|
|
75d35b75ee | ||
|
|
8eb8cea50c | ||
|
|
45fcfcbc43 | ||
|
|
47311a2513 | ||
|
|
1297c6ae9b |
+27
-20
@@ -45,9 +45,13 @@ jobs:
|
|||||||
- name: Upload Artifact
|
- name: Upload Artifact
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: published
|
name: Release
|
||||||
path: D:\a\Digital-Clock-in-sharpc\Digital-Clock-in-sharpc\Digital Clock\bin\Release\*
|
path: D:\a\Digital-Clock-in-sharpc\Digital-Clock-in-sharpc\Digital Clock\bin\Release\*
|
||||||
- name: release
|
retention-days: 1
|
||||||
|
env:
|
||||||
|
MYURL: ${{ steps.artifact-upload-step.outputs.artifact-url }}
|
||||||
|
|
||||||
|
- name: Create Release
|
||||||
uses: actions/create-release@latest
|
uses: actions/create-release@latest
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ github.token }}
|
GITHUB_TOKEN: ${{ github.token }}
|
||||||
@@ -58,24 +62,27 @@ jobs:
|
|||||||
tag_name: ${{ github.run_number }}
|
tag_name: ${{ github.run_number }}
|
||||||
body: ${{ github.event.head_commit.message }}
|
body: ${{ github.event.head_commit.message }}
|
||||||
|
|
||||||
- name: Dump Vars
|
- name: Upload Release Asset
|
||||||
env:
|
uses: actions/upload-release-asset@v1
|
||||||
ALLVARS: ${{ toJSON(vars) }}
|
env:
|
||||||
shell: bash
|
GITHUB_TOKEN: ${{ github.token }}
|
||||||
run: echo "$ALLVARS"
|
with:
|
||||||
|
upload_url: ${{ steps.create_release.outputs.upload_url }}
|
||||||
|
asset_path: D:\a\Digital-Clock-in-sharpc\Digital-Clock-in-sharpc\Digital Clock\bin\Release\Release.zip
|
||||||
|
asset_name: Release.zip
|
||||||
|
asset_content_type: application/zip
|
||||||
|
|
||||||
|
- name: Upload Release
|
||||||
|
uses: softprops/action-gh-release@v1
|
||||||
|
with:
|
||||||
|
draft: false
|
||||||
|
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\*
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ github.token }}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Reference in New Issue
Block a user