mirror of
https://github.com/real-zony/ZonyLrcToolsX.git
synced 2025-07-01 12:11:13 +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
|
||||
id: date
|
||||
run: echo "::set-output name=date::$(date +'%Y%m%d')${{github.run_number}}"
|
||||
- name: Echo version
|
||||
run: echo "${{ steps.date.outputs.date }}.zip"
|
||||
# - name: Checkout Code
|
||||
# uses: actions/checkout@v3
|
||||
# - name: Setup .NET
|
||||
# uses: actions/setup-dotnet@v2
|
||||
# with:
|
||||
# dotnet-version: 6.0.x
|
||||
# - name: Restore dependencies
|
||||
# run: dotnet restore
|
||||
# - name: Build
|
||||
# run: |
|
||||
# cd ./src/ZonyLrcTools.Cli
|
||||
# dotnet publish -r win-x64 -c Release -p:PublishSingleFile=true -p:PublishTrimmed=true --self-contained true
|
||||
# - name: Zip Files
|
||||
# uses: thedoctor0/zip-release@main
|
||||
# with:
|
||||
# type: 'zip'
|
||||
# path: './bin/Release/net6.0/win-x64/publish'
|
||||
# filename: '${{ steps.date.outputs.date }}.zip'
|
||||
# - name: echo
|
||||
# run: |
|
||||
# cd "./bin/Release/net6.0/win-x64/publish"
|
||||
# ls -a
|
||||
- name: Checkout Code
|
||||
uses: actions/checkout@v3
|
||||
- name: Setup .NET
|
||||
uses: actions/setup-dotnet@v2
|
||||
with:
|
||||
dotnet-version: 6.0.x
|
||||
- name: Restore dependencies
|
||||
run: dotnet restore
|
||||
- name: Build
|
||||
run: |
|
||||
cd ./src/ZonyLrcTools.Cli
|
||||
dotnet publish -r win-x64 -c Release -p:PublishSingleFile=true -p:PublishTrimmed=true --self-contained true
|
||||
- name: Zip Files
|
||||
uses: thedoctor0/zip-release@main
|
||||
with:
|
||||
type: 'zip'
|
||||
path: './bin/Release/net6.0/win-x64/publish'
|
||||
filename: 'ZonyLrcToolsX_Alpha.${{ steps.date.outputs.date }}.zip'
|
||||
- name: echo
|
||||
run: |
|
||||
cd "./bin/Release/net6.0/win-x64/publish"
|
||||
ls -a
|
Loading…
x
Reference in New Issue
Block a user