From bfd23fc14ed1ae3939fd863378b7a39d5b85ccd3 Mon Sep 17 00:00:00 2001 From: real-zony Date: Thu, 22 Sep 2022 11:39:01 +0800 Subject: [PATCH] ci: debug workflow. --- .github/workflows/dotnet.yml | 47 +++++++++++++++++++----------------- 1 file changed, 25 insertions(+), 22 deletions(-) diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index aa2270b..bdd326b 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -11,26 +11,29 @@ jobs: runs-on: ubuntu-latest steps: - name: Get build version + id: date 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: | - 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 \ No newline at end of file + - 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 \ No newline at end of file