From 28c193a6442bab5f2232d6a9abcaa417c9fb2f0d Mon Sep 17 00:00:00 2001 From: Andreia Gaita Date: Tue, 3 Dec 2024 19:46:10 +0100 Subject: [PATCH] JFC apparently I need to use my own upload-artifact because the official one doesn't support multiple separate artifact uploads. --- .github/workflows/main.yml | 4 ++-- publish.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 2099e54..311248d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -97,10 +97,10 @@ jobs: if: ${{ github.event_name != 'workflow_dispatch' || inputs.publish }} working-directory: source - - uses: actions/upload-artifact@v4 + - uses: spoiledcat/upload-artifact@main with: path: 'source/build/**/*.nupkg' - - uses: actions/upload-artifact@v4 + - uses: spoiledcat/upload-artifact@main with: path: 'source/build/**/*.tgz' diff --git a/publish.sh b/publish.sh index 155489f..dad7dde 100755 --- a/publish.sh +++ b/publish.sh @@ -112,7 +112,7 @@ function updateBranchAndPush() { if [[ $publ -eq 1 ]]; then echo "Publishing branch: $branch/$VERSION" - git push origin HEAD:refs/heads/$branch/$VERSION + git push origin +HEAD:refs/heads/$branch/$VERSION fi popd