From 9952bd3594c8f62a26ecd8cf2c5af21a4845a719 Mon Sep 17 00:00:00 2001 From: Pawel Piwowarczyk Date: Fri, 22 Mar 2024 14:02:25 +0100 Subject: [PATCH] switch publish too windows --- .github/workflows/template.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/template.yml b/.github/workflows/template.yml index 8c7fab2..47d1584 100644 --- a/.github/workflows/template.yml +++ b/.github/workflows/template.yml @@ -66,10 +66,7 @@ jobs: name: package path: src/${{ inputs.projectName }}/package publish: - runs-on: ${{ matrix.os }} - strategy: - matrix: - os: [windows-latest,ubuntu-latest] + runs-on: windows-latest if: inputs.publish needs: [build] steps: @@ -83,7 +80,7 @@ jobs: nuget-version: latest - name: Set up certificate run: | - echo "${{ secrets.SM_CLIENT_CERT_FILE_B64 }}" | base64 --decode > /c/Certificate_pkcs12.p12 + echo "${{ secrets.SM_CLIENT_CERT_FILE_B64 }}" | base64 --decode > /d/Certificate_pkcs12.p12 shell: bash - name: Set variables id: variables @@ -91,7 +88,7 @@ jobs: echo "::set-output name=version::${GITHUB_REF#refs/tags/v}" echo "SM_HOST=${{ secrets.SM_HOST }}" >> "$GITHUB_ENV" echo "SM_API_KEY=${{ secrets.SM_API_KEY }}" >> "$GITHUB_ENV" - echo "SM_CLIENT_CERT_FILE=\cert\Certificate_pkcs12.p12" >> "$GITHUB_ENV" + echo "SM_CLIENT_CERT_FILE=D:\\Certificate_pkcs12.p12" >> "$GITHUB_ENV" echo "SM_CLIENT_CERT_PASSWORD=${{ secrets.SM_CLIENT_CERT_PASSWORD }}" >> "$GITHUB_ENV" echo "C:\Program Files (x86)\Windows Kits\10\App Certification Kit" >> $GITHUB_PATH echo "C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.8 Tools" >> $GITHUB_PATH