Skip to content

Commit 5e72818

Browse files
committed
Try to workflow.
1 parent 4caafed commit 5e72818

File tree

1 file changed

+18
-9
lines changed

1 file changed

+18
-9
lines changed

.github/workflows/sdkbuild2run.yml

Lines changed: 18 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,20 +17,29 @@ jobs:
1717
build:
1818
# The type of runner that the job will run on
1919
runs-on: windows-latest
20-
20+
env:
21+
ProductClientId: ${{ secrets.PRODUCTCLIENTID }}
22+
ProductClientSecret: ${{ secrets.PRODUCTCLIENTSECRET }}
2123
# Steps represent a sequence of tasks that will be executed as part of the job
2224
steps:
2325
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
2426
- uses: actions/checkout@v4
27+
- name: Set up Strawberry Perl
28+
run: |
29+
choco install strawberryperl -y
30+
shell: powershell
2531

26-
- name: Set up Perl
27-
uses: shogo82148/actions-setup-perl@v1
28-
with:
29-
perl-version: "5.38"
30-
distribution: strawberry
31-
32-
- name: Install CPAN modules
33-
run: cpanm --installdeps .
32+
- name: Verify Perl installation
33+
run: |
34+
perl -v
35+
cpan -v
36+
shell: cmd
37+
38+
- name: Install Perl dependencies
39+
run: |
40+
cpan install JSON
41+
cpan install LWP::UserAgent
42+
shell: cmd
3443

3544
- name: Build SDK Package
3645
run: |

0 commit comments

Comments
 (0)