Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
dbcad3e7b6 | ||
|
|
e0462057a3 | ||
|
|
37e2b6c07f |
@@ -45,21 +45,6 @@ jobs:
|
|||||||
- name: Show Github infos
|
- name: Show Github infos
|
||||||
run: echo 'Workspace path ${{ github.workspace }} - runner.temp ${{ runner.temp }}'
|
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
|
|
||||||
|
|
||||||
- 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
|
- name: Create Release
|
||||||
uses: actions/create-release@latest
|
uses: actions/create-release@latest
|
||||||
env:
|
env:
|
||||||
@@ -72,14 +57,10 @@ jobs:
|
|||||||
body: ${{ github.event.head_commit.message }}
|
body: ${{ github.event.head_commit.message }}
|
||||||
|
|
||||||
- name: Zipping up Release folder
|
- name: Zipping up Release folder
|
||||||
##run: Compress-Archive -Path "${{ github.workspace }}\Digital Clock\bin\Release\" -Destination release.zip
|
|
||||||
run: 7z a release.zip "${{ github.workspace }}\Digital Clock\bin\Release\"
|
run: 7z a release.zip "${{ github.workspace }}\Digital Clock\bin\Release\"
|
||||||
|
|
||||||
- name: test
|
|
||||||
run: ls -R
|
|
||||||
|
|
||||||
- name: Upload Release
|
- name: Upload Release
|
||||||
uses: softprops/action-gh-release@v1
|
uses: softprops/action-gh-release@v2
|
||||||
with:
|
with:
|
||||||
draft: false
|
draft: false
|
||||||
prerelease: false
|
prerelease: false
|
||||||
@@ -90,8 +71,4 @@ jobs:
|
|||||||
GITHUB_TOKEN: ${{ github.token }}
|
GITHUB_TOKEN: ${{ github.token }}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Reference in New Issue
Block a user