Skip to content

Commit 4caafed

Browse files
Create sdkbuild2run.yml
1 parent 5245789 commit 4caafed

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed

.github/workflows/sdkbuild2run.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: Aspose Cells Cloud SDK
2+
3+
# Controls when the workflow will run
4+
on:
5+
# Triggers the workflow on push or pull request events, but only for the "master" branch
6+
push:
7+
branches: [ "master" ]
8+
pull_request:
9+
branches: [ "master" ]
10+
11+
# Allows you to run this workflow manually from the Actions tab
12+
workflow_dispatch:
13+
14+
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
15+
jobs:
16+
# This workflow contains a single job called "build"
17+
build:
18+
# The type of runner that the job will run on
19+
runs-on: windows-latest
20+
21+
# Steps represent a sequence of tasks that will be executed as part of the job
22+
steps:
23+
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
24+
- uses: actions/checkout@v4
25+
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 .
34+
35+
- name: Build SDK Package
36+
run: |
37+
perl Build.PL && ./Build
38+
cd examples
39+
perl .\Example_QuickStart.pl

0 commit comments

Comments
 (0)