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
80a0bcdcee
commit
81271a5aa5
42
.github/workflows/dotnet.yml
vendored
42
.github/workflows/dotnet.yml
vendored
@ -11,24 +11,26 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Get build version
|
- name: Get build version
|
||||||
|
run: echo "::set-output name=date::$(date +'%Y%m%d')${{github.run_number}}"
|
||||||
|
- 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: |
|
run: |
|
||||||
echo "::set-output name=date::$(date +'%Y%m%d')"
|
cd ./src/ZonyLrcTools.Cli
|
||||||
echo "${{github.run_number}}"
|
dotnet publish -r win-x64 -c Release -p:PublishSingleFile=true -p:PublishTrimmed=true --self-contained true
|
||||||
# - name: Checkout Code
|
- name: Zip Files
|
||||||
# uses: actions/checkout@v3
|
uses: thedoctor0/zip-release@main
|
||||||
# - name: Setup .NET
|
with:
|
||||||
# uses: actions/setup-dotnet@v2
|
type: 'zip'
|
||||||
# with:
|
path: './bin/Release/net6.0/win-x64/publish'
|
||||||
# dotnet-version: 6.0.x
|
filename: '${{ steps.date.outputs.date }}.zip'
|
||||||
# - name: Restore dependencies
|
- name: echo
|
||||||
# run: dotnet restore
|
run: |
|
||||||
# - name: Build
|
cd "./bin/Release/net6.0/win-x64/publish"
|
||||||
# run: |
|
ls -a
|
||||||
# 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: ''
|
|
Loading…
x
Reference in New Issue
Block a user