Browse Source

github: migrate to softprops/action-gh-release to avoid drafts being randomly created (thanks @SNMetamorph)

pull/2/head
Alibek Omarov 2 years ago
parent
commit
588d080a63
  1. 12
      .github/workflows/c-cpp.yml

12
.github/workflows/c-cpp.yml

@ -115,11 +115,11 @@ jobs: @@ -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

Loading…
Cancel
Save