diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index 471679c8..a0ed7a29 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -25,7 +25,7 @@ jobs: release: needs: build - if: startsWith(github.ref, 'refs/tags/v') + # if: startsWith(github.ref, 'refs/tags/v') runs-on: windows-latest steps: - uses: actions/setup-dotnet@v4 @@ -33,20 +33,22 @@ jobs: with: name: nuget path: artifacts - - run: dotnet nuget push ./artifacts/*.nupkg --source https://api.nuget.org/v3/index.json --api-key ${{ secrets.NUGET_API_KEY }} - - uses: actions/github-script@v7 - with: - script: | - const owner = context.repo.owner; - const repo = context.repo.repo; - const tag_name = context.ref.replace(/refs\/tags\//, ''); + - run: echo $PWD + - run: Tree + # - run: dotnet nuget push ./artifacts/*.nupkg --source https://api.nuget.org/v3/index.json --api-key ${{ secrets.NUGET_API_KEY }} + # - uses: actions/github-script@v7 + # with: + # script: | + # const owner = context.repo.owner; + # const repo = context.repo.repo; + # const tag_name = context.ref.replace(/refs\/tags\//, ''); - github.rest.repos.createRelease({ - owner, - repo, - tag_name, - name: "Release " + tag_name, - body: "TODO", - draft: true, - }); + # github.rest.repos.createRelease({ + # owner, + # repo, + # tag_name, + # name: "Release " + tag_name, + # body: "TODO", + # draft: true, + # });