diff --git a/.github/workflows/sign.yml b/.github/workflows/sign.yml index 59c29e834f..7a7394afee 100644 --- a/.github/workflows/sign.yml +++ b/.github/workflows/sign.yml @@ -6,14 +6,14 @@ on: build_run_number: description: 'GitHub Run Number (per build_viewer.yml workflow)' required: true - policy: - description: 'Policy to sign binaries' - required: true - type: choice - default: "Test" - options: - - "Test" - - "Release" + # policy: + # description: 'Policy to sign binaries' + # required: true + # type: choice + # default: "Test" + # options: + # - "Test" + # - "Release" # viewer_version: # description: 'viewer version not including build' # required: true @@ -33,7 +33,7 @@ on: jobs: find-setup-files: - runs-on: ubuntu-latest + runs-on: windows-latest permissions: actions: read contents: read @@ -83,6 +83,7 @@ jobs: curl -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \ -H "Accept: application/vnd.github.v3+json" \ https://api.github.com/repos/${{ github.repository }}/actions/runs/${{ github.run_id }}/artifacts + shell: bash - name: Download Setup.exe Files Artifact uses: actions/download-artifact@v4 @@ -93,6 +94,7 @@ jobs: run: | mkdir -p to_sign cp "setup_exe_files/${{ matrix.file }}" to_sign/ + shell: bash # - name: Upload unsigned artifact # id: upload-unsigned-artifact # uses: actions/upload-artifact@v4 @@ -123,7 +125,7 @@ jobs: certificate-profile-name: ${{ secrets.AZURE_CERT_PROFILE_NAME }} # Sign all exes inside the folder - files-folder: to_sign + files-folder: ${{ github.workspace }}\to_sign files-folder-filter: exe # - name: Upload signed artifact @@ -137,4 +139,4 @@ jobs: uses: actions/upload-artifact@v4 with: name: unsigned-artifact-${{ matrix.file }} - path: to_sign/${{ matrix.file }} + path: to_sign\${{ matrix.file }}