Add release-test action

This commit is contained in:
pizzaboxer 2024-10-16 02:07:59 +01:00
parent b41142a141
commit 571cf4d4f7
No known key found for this signature in database
GPG Key ID: 59D4A1DBAD0F2BA8

View File

@ -60,3 +60,31 @@ jobs:
draft: true draft: true
files: Bloxstrap-${{ github.ref_name }}.exe files: Bloxstrap-${{ github.ref_name }}.exe
name: Bloxstrap ${{ github.ref_name }} 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 }}