e2e big exe tests #29
This file contains 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
# this workflow is intended to test the behavior of the system when a large artifact is submitted for signing | |
# besides other aspects it helps to check signed artifacts downloading back to the runner | |
name: e2e big exe tests | |
on: | |
workflow_dispatch: | |
jobs: | |
job2: | |
name: Skippable Step | |
if: ${{1 == 0}} | |
runs-on: custom_runner | |
steps: | |
- name: Step2 | |
run: exit 1 | |
build: | |
runs-on: windows-latest | |
environment: ${{ inputs.environment }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Upload the artifcat file | |
id: upload-artifact-step | |
uses: actions/upload-artifact@v4 | |
with: | |
name: original-artifact | |
path: ./files/hello-world.exe | |
- name: Run submit signing request | |
id: submit_with_download | |
uses: signpath/github-action-submit-signing-request@main | |
with: | |
connector-url: https://m6vtkll5-44353.euw.devtunnels.ms/ | |
api-token: '${{ secrets.SIGN_PATH_API_TOKEN }}' | |
organization-id: fe33c075-e317-4587-9ecc-0495c44c45e0 | |
project-slug: executable | |
# this SigningPolicy has auto-approve enabled, so you don't need to approve the signing request | |
signing-policy-slug: test-signing | |
artifact-configuration-slug: initial | |
github-artifact-id: '${{ steps.upload-artifact-step.outputs.artifact-id }}' | |
wait-for-completion: true | |
output-artifact-directory: signed-artifact |