|
@@ -63,36 +63,36 @@ jobs:
|
|
|
path: dist-win32
|
|
|
retention-days: 1
|
|
|
|
|
|
- - id: Sign
|
|
|
- if: ${{ runner.os == 'Windows' }}
|
|
|
- uses: signpath/github-action-submit-signing-request@v1.1
|
|
|
- with:
|
|
|
- api-token: '${{ secrets.SIGNPATH_API_TOKEN }}'
|
|
|
- organization-id: 'd2da0df2-dc12-4516-8222-87178d5ebf3d'
|
|
|
- project-slug: 'pinokio'
|
|
|
- signing-policy-slug: 'test-signing'
|
|
|
- github-artifact-id: '${{ steps.upload-unsigned-artifact.outputs.artifact-id }}'
|
|
|
- wait-for-completion: true
|
|
|
- output-artifact-directory: './signed-windows'
|
|
|
- parameters: |
|
|
|
- version: ${{ toJSON(github.ref_name) }}
|
|
|
-
|
|
|
- - name: Get package.json version
|
|
|
- id: get_version
|
|
|
- shell: bash
|
|
|
- run: |
|
|
|
- PACKAGE_VERSION=$(node -p "require('./package.json').version")
|
|
|
- echo "PACKAGE_VERSION=$PACKAGE_VERSION" >> $GITHUB_ENV
|
|
|
-
|
|
|
- - name: Publish GitHub Release with gh
|
|
|
- shell: bash
|
|
|
- env:
|
|
|
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
|
- run: |
|
|
|
- echo "Releasing version $PACKAGE_VERSION"
|
|
|
- gh release create "v$PACKAGE_VERSION" ./signed-windows/*.exe \
|
|
|
- --title "Release v$PACKAGE_VERSION" \
|
|
|
- --notes "Pinokio version $PACKAGE_VERSION."
|
|
|
+# - id: Sign
|
|
|
+# if: ${{ runner.os == 'Windows' }}
|
|
|
+# uses: signpath/github-action-submit-signing-request@v1.1
|
|
|
+# with:
|
|
|
+# api-token: '${{ secrets.SIGNPATH_API_TOKEN }}'
|
|
|
+# organization-id: 'd2da0df2-dc12-4516-8222-87178d5ebf3d'
|
|
|
+# project-slug: 'pinokio'
|
|
|
+# signing-policy-slug: 'test-signing'
|
|
|
+# github-artifact-id: '${{ steps.upload-unsigned-artifact.outputs.artifact-id }}'
|
|
|
+# wait-for-completion: true
|
|
|
+# output-artifact-directory: './signed-windows'
|
|
|
+# parameters: |
|
|
|
+# version: ${{ toJSON(github.ref_name) }}
|
|
|
+#
|
|
|
+# - name: Get package.json version
|
|
|
+# id: get_version
|
|
|
+# shell: bash
|
|
|
+# run: |
|
|
|
+# PACKAGE_VERSION=$(node -p "require('./package.json').version")
|
|
|
+# echo "PACKAGE_VERSION=$PACKAGE_VERSION" >> $GITHUB_ENV
|
|
|
+#
|
|
|
+# - name: Publish GitHub Release with gh
|
|
|
+# shell: bash
|
|
|
+# env:
|
|
|
+# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
|
+# run: |
|
|
|
+# echo "Releasing version $PACKAGE_VERSION"
|
|
|
+# gh release create "v$PACKAGE_VERSION" ./signed-windows/*.exe \
|
|
|
+# --title "Release v$PACKAGE_VERSION" \
|
|
|
+# --notes "Pinokio version $PACKAGE_VERSION."
|
|
|
|
|
|
mac:
|
|
|
needs: "create-release"
|