From 588d080a634b6cf3d173d1dbe02aab458c93463a Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Wed, 19 Apr 2023 15:05:33 +0300 Subject: [PATCH] github: migrate to softprops/action-gh-release to avoid drafts being randomly created (thanks @SNMetamorph) --- .github/workflows/c-cpp.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml index 1669895c..84410dfe 100644 --- a/.github/workflows/c-cpp.yml +++ b/.github/workflows/c-cpp.yml @@ -115,11 +115,11 @@ jobs: delete_release: true github_token: ${{ secrets.GITHUB_TOKEN }} - name: Upload new release - uses: FWGS/upload-release-action@2.5.1 + uses: FWGS/action-gh-release@v0.1.15 with: - release_name: Xash3D FWGS Continuous ${{ github.ref_name }} Build - tag: ${{ github.ref_name == 'master' && 'continuous' || format('continuous-{0}', github.ref_name) }} + name: Xash3D FWGS Continuous ${{ github.ref_name }} Build + tag_name: ${{ github.ref_name == 'master' && 'continuous' || format('continuous-{0}', github.ref_name) }} prerelease: true - repo_token: ${{ secrets.GITHUB_TOKEN }} - file_glob: true - file: artifacts/* + token: ${{ secrets.GITHUB_TOKEN }} + files: artifacts/* + draft: false