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:
delete_release: true delete_release: true
github_token: ${{ secrets.GITHUB_TOKEN }} github_token: ${{ secrets.GITHUB_TOKEN }}
- name: Upload new release - name: Upload new release
uses: FWGS/upload-release-action@2.5.1 uses: FWGS/action-gh-release@v0.1.15
with: with:
release_name: Xash3D FWGS Continuous ${{ github.ref_name }} Build name: Xash3D FWGS Continuous ${{ github.ref_name }} Build
tag: ${{ github.ref_name == 'master' && 'continuous' || format('continuous-{0}', github.ref_name) }} tag_name: ${{ github.ref_name == 'master' && 'continuous' || format('continuous-{0}', github.ref_name) }}
prerelease: true prerelease: true
repo_token: ${{ secrets.GITHUB_TOKEN }} token: ${{ secrets.GITHUB_TOKEN }}
file_glob: true files: artifacts/*
file: artifacts/* draft: false

Loading…
Cancel
Save