Skip to content

Commit 9831888

Browse files
patrickthorntonpatrickthornton
authored andcommitted
preview-java gh workflow
1 parent ddc6e84 commit 9831888

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.github/workflows/preview_sdks.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,31 @@ jobs:
3232
cd fern/.preview/fern-typescript-node-sdk
3333
yarn install
3434
yarn build
35+
36+
preview-java:
37+
runs-on: ubuntu-latest
38+
steps:
39+
- name: Checkout repo
40+
uses: actions/checkout@v4
41+
42+
- name: Setup Java
43+
uses: actions/setup-java@v1
44+
with:
45+
java-version: "11"
46+
architecture: x64
47+
48+
- name: Download Fern
49+
run: npm install -g fern-api
50+
51+
- name: Generate Preview
52+
env:
53+
FERN_TOKEN: ${{ secrets.FERN_TOKEN }}
54+
run: |
55+
fern generate --group java-sdk --preview --log-level debug
56+
57+
- name: Build
58+
env:
59+
FERN_TOKEN: ${{ secrets.FERN_TOKEN }}
60+
run: |
61+
cd fern/.preview/fern-java-sdk
62+
./gradlew build

0 commit comments

Comments
 (0)