From 5980036976b797a93923a2750e113d3c188d5f24 Mon Sep 17 00:00:00 2001 From: 64J0 Date: Sun, 12 May 2024 13:47:12 -0300 Subject: [PATCH] wip: debug commands --- .github/workflows/publish.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 97d38ed9..f954c0a9 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -1,6 +1,7 @@ name: Publish on: + push: release: types: - published @@ -60,7 +61,7 @@ jobs: prerelease: name: Publish a pre-release version needs: build - if: github.event.release.prerelease == true + # if: github.event.release.prerelease == true runs-on: ubuntu-latest steps: - name: Download Artifact @@ -69,8 +70,11 @@ jobs: name: nupkg - name: Push to GitHub Feed run: | + ls -lr ./nupkg/ + for f in ./nupkg/*.nupkg do + echo $f curl -vX PUT -u "$GITHUB_USER:$GITHUB_TOKEN" -F package=@$f $GITHUB_FEED done