Skip to content

Commit

Permalink
ci: create sign request to signpath
Browse files Browse the repository at this point in the history
  • Loading branch information
KotRikD committed Jan 7, 2025
1 parent 89db801 commit 4e4a128
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ jobs:
run: pnpm build:linux

- name: 🚀 - Upload artifacts for windows
id: upload-artifact-windows
if: ${{ matrix.os == 'windows-latest' }}
uses: actions/upload-artifact@v4
with: {
Expand All @@ -73,6 +74,18 @@ jobs:
path: packages/tosu/dist/tosu
}

- name: ✍️ - Creating sign request to SignPath
if: startsWith(github.ref, 'refs/tags/v') && matrix.os == 'windows-latest'
uses: signpath/[email protected]
with:
api-token: '${{ secrets.SIGNPATH_API_TOKEN }}'
organization-id: '5b025426-9c79-4f04-87e8-64cf64131d0b'
project-slug: 'tosu'
signing-policy-slug: 'sign-config'
github-artifact-id: '${{ steps.upload-artifact-windows.outputs.artifact-id }}'
wait-for-completion: true
output-artifact-directory: '/tosu'

# - name: 🚀 - Upload artifacts for mac
# if: matrix.os == 'macos-latest'
# uses: actions/upload-artifact@v3
Expand Down

0 comments on commit 4e4a128

Please sign in to comment.