From 59c67d596c574c373b6e0d783eaa3a9076959ae2 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 25 Nov 2021 07:10:15 +0000 Subject: [PATCH 1/2] Bump alexellis/upload-assets from 0.2.2 to 0.3.0 Bumps [alexellis/upload-assets](https://github.com/alexellis/upload-assets) from 0.2.2 to 0.3.0. - [Release notes](https://github.com/alexellis/upload-assets/releases) - [Commits](https://github.com/alexellis/upload-assets/compare/0.2.2...0.3.0) --- updated-dependencies: - dependency-name: alexellis/upload-assets dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .github/workflows/testpack.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/testpack.yml b/.github/workflows/testpack.yml index 1d9618c..1d161d3 100644 --- a/.github/workflows/testpack.yml +++ b/.github/workflows/testpack.yml @@ -21,7 +21,7 @@ jobs: run: (cd BadMedicine.Core && nuget push HIC.*.nupkg -skipDuplicate -Source https://api.nuget.org/v3/index.json -ApiKey ${{ secrets.NUGET_KEY }}) - name: Upload release binaries if: contains(github.ref,'refs/tags/') - uses: alexellis/upload-assets@0.2.2 + uses: alexellis/upload-assets@0.3.0 env: GITHUB_TOKEN: ${{ github.token }} with: From e1b91143eb469e31186d5e5948b584dc50890396 Mon Sep 17 00:00:00 2001 From: James A Sutherland Date: Thu, 17 Feb 2022 12:31:22 +0000 Subject: [PATCH 2/2] Update to svenstaro release instead of alexellis --- .github/workflows/testpack.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/testpack.yml b/.github/workflows/testpack.yml index 1d161d3..8120a41 100644 --- a/.github/workflows/testpack.yml +++ b/.github/workflows/testpack.yml @@ -20,9 +20,11 @@ jobs: if: contains(github.ref,'refs/tags/') run: (cd BadMedicine.Core && nuget push HIC.*.nupkg -skipDuplicate -Source https://api.nuget.org/v3/index.json -ApiKey ${{ secrets.NUGET_KEY }}) - name: Upload release binaries - if: contains(github.ref,'refs/tags/') - uses: alexellis/upload-assets@0.3.0 - env: - GITHUB_TOKEN: ${{ github.token }} + uses: svenstaro/upload-release-action@2.2.1 + if: contains(github.ref, 'refs/tags/v') with: - asset_paths: '["badmedicine-cli-win-x64.zip","badmedicine-cli-linux-x64.tgz"]' + repo_token: ${{ secrets.GITHUB_TOKEN }} + file: badmedicine-cli-* + tag: ${{ github.ref }} + overwrite: true + file_glob: true