Fix invalid path #9
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| on: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| build-and-sign-win: | |
| runs-on: windows-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v3 | |
| - name: Set up Node.js | |
| uses: actions/setup-node@v3 | |
| with: | |
| node-version: '24' | |
| - name: Install dependencies | |
| run: cd source_v3/ && yarn install --frozen-lockfile | |
| - name: Install OSSign CLI | |
| uses: ossign/actions/setup-ossign@main | |
| with: | |
| token: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Build the project | |
| env: | |
| OSSIGN_CONFIG: ${{ secrets.OSSIGN_CONFIG }} | |
| run: | | |
| cd source_v3/ | |
| npm run make && npm run publish | |
| ls | |
| ls out/ | |
| - name: Upload artifacts | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: build-artifacts | |
| path: source_v3/out/ | |
| # - name: Sign the executable | |
| # env: | |
| # SIGNING_CERTIFICATE: ${{ secrets.SIGNING_CERTIFICATE }} | |
| # SIGNING_PASSWORD: ${{ secrets.SIGNING_PASSWORD }} | |
| # run: | | |
| # echo $SIGNING_CERTIFICATE | base64 -d > certificate.pfx | |
| # signtool sign /f certificate.pfx /p $SIGNING_PASSWORD /tr http://timestamp.digicert.com /td sha256 /fd sha256 path\to\your\executable.exe | |
| # - name: Upload artifact | |
| # uses: actions/upload-artifact@v3 | |
| # with: | |
| # name: signed-executable |