Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e0462057a3 | ||
|
|
37e2b6c07f | ||
|
|
f530079f09 | ||
|
|
1f04121586 | ||
|
|
79b30f8010 | ||
|
|
e705329c22 |
@@ -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,25 +57,21 @@ 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"
|
||||
|
||||
run: 7z a release.zip "${{ github.workspace }}\Digital Clock\bin\Release\"
|
||||
|
||||
- name: test
|
||||
run: ls -R
|
||||
|
||||
- name: Upload Release
|
||||
uses: softprops/action-gh-release@v1
|
||||
uses: softprops/action-gh-release@v2
|
||||
with:
|
||||
draft: false
|
||||
prerelease: false
|
||||
tag_name: ${{ github.run_number }}
|
||||
body: ${{ github.event.head_commit.message }}
|
||||
files: ${{ github.workspace }}\Release.zip
|
||||
files: ${{ github.workspace }}\release.zip
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ github.token }}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user