mirror of
https://github.com/real-zony/ZonyLrcToolsX.git
synced 2025-07-01 20:30:41 +00:00
ci: debug workflow.
This commit is contained in:
parent
bfd23fc14e
commit
5c8c9af9ab
46
.github/workflows/dotnet.yml
vendored
46
.github/workflows/dotnet.yml
vendored
@ -13,27 +13,25 @@ jobs:
|
|||||||
- name: Get build version
|
- name: Get build version
|
||||||
id: date
|
id: date
|
||||||
run: echo "::set-output name=date::$(date +'%Y%m%d')${{github.run_number}}"
|
run: echo "::set-output name=date::$(date +'%Y%m%d')${{github.run_number}}"
|
||||||
- name: Echo version
|
- name: Checkout Code
|
||||||
run: echo "${{ steps.date.outputs.date }}.zip"
|
uses: actions/checkout@v3
|
||||||
# - name: Checkout Code
|
- name: Setup .NET
|
||||||
# uses: actions/checkout@v3
|
uses: actions/setup-dotnet@v2
|
||||||
# - name: Setup .NET
|
with:
|
||||||
# uses: actions/setup-dotnet@v2
|
dotnet-version: 6.0.x
|
||||||
# with:
|
- name: Restore dependencies
|
||||||
# dotnet-version: 6.0.x
|
run: dotnet restore
|
||||||
# - name: Restore dependencies
|
- name: Build
|
||||||
# run: dotnet restore
|
run: |
|
||||||
# - name: Build
|
cd ./src/ZonyLrcTools.Cli
|
||||||
# run: |
|
dotnet publish -r win-x64 -c Release -p:PublishSingleFile=true -p:PublishTrimmed=true --self-contained true
|
||||||
# cd ./src/ZonyLrcTools.Cli
|
- name: Zip Files
|
||||||
# dotnet publish -r win-x64 -c Release -p:PublishSingleFile=true -p:PublishTrimmed=true --self-contained true
|
uses: thedoctor0/zip-release@main
|
||||||
# - name: Zip Files
|
with:
|
||||||
# uses: thedoctor0/zip-release@main
|
type: 'zip'
|
||||||
# with:
|
path: './bin/Release/net6.0/win-x64/publish'
|
||||||
# type: 'zip'
|
filename: 'ZonyLrcToolsX_Alpha.${{ steps.date.outputs.date }}.zip'
|
||||||
# path: './bin/Release/net6.0/win-x64/publish'
|
- name: echo
|
||||||
# filename: '${{ steps.date.outputs.date }}.zip'
|
run: |
|
||||||
# - name: echo
|
cd "./bin/Release/net6.0/win-x64/publish"
|
||||||
# run: |
|
ls -a
|
||||||
# cd "./bin/Release/net6.0/win-x64/publish"
|
|
||||||
# ls -a
|
|
Loading…
x
Reference in New Issue
Block a user