mirror of
https://github.com/bloxstraplabs/bloxstrap.git
synced 2025-04-18 16:41:36 -07:00
Add release-test action
This commit is contained in:
parent
b41142a141
commit
571cf4d4f7
28
.github/workflows/ci-release.yml
vendored
28
.github/workflows/ci-release.yml
vendored
@ -60,3 +60,31 @@ jobs:
|
||||
draft: true
|
||||
files: Bloxstrap-${{ github.ref_name }}.exe
|
||||
name: Bloxstrap ${{ github.ref_name }}
|
||||
|
||||
release-test:
|
||||
needs: build
|
||||
runs-on: ubuntu-latest
|
||||
if: startsWith(github.ref, 'refs/tags/release-test')
|
||||
|
||||
steps:
|
||||
- name: Sign and download artifact
|
||||
uses: signpath/github-action-submit-signing-request@v1
|
||||
with:
|
||||
api-token: '${{ secrets.SIGNPATH_API_TOKEN }}'
|
||||
organization-id: '107b3de5-057b-42fc-a985-3546e4261775'
|
||||
project-slug: 'bloxstrap'
|
||||
signing-policy-slug: 'test-signing'
|
||||
artifact-configuration-slug: 'github-ci'
|
||||
github-artifact-id: '${{ needs.build.outputs.artifact-id }}'
|
||||
wait-for-completion: true
|
||||
output-artifact-directory: 'release'
|
||||
|
||||
- name: Rename binaries
|
||||
run: mv release/Bloxstrap.exe Bloxstrap-${{ github.ref_name }}.exe
|
||||
|
||||
- name: Create release
|
||||
uses: softprops/action-gh-release@v2
|
||||
with:
|
||||
draft: true
|
||||
files: Bloxstrap-${{ github.ref_name }}.exe
|
||||
name: Bloxstrap ${{ github.ref_name }}
|
||||
|
Loading…
Reference in New Issue
Block a user