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