We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 73b7d8d commit 36a1982Copy full SHA for 36a1982
.github/workflows/release.yml
@@ -0,0 +1,30 @@
1
+name: release
2
+on:
3
+ workflow_dispatch:
4
+
5
+jobs:
6
+ build:
7
+ runs-on: ubuntu-latest
8
+ strategy:
9
+ matrix:
10
+ java: [ '8' ]
11
+ architecture: [ 'x64' ]
12
+ name: Build with JDK ${{ matrix.java }} on ${{ matrix.architecture }}
13
+ steps:
14
+ - uses: actions/checkout@v4
15
+ - name: Setup JDK
16
+ uses: actions/setup-java@v4
17
+ with:
18
+ distribution: 'temurin'
19
+ java-version: ${{ matrix.java }}
20
+ architecture: ${{ matrix.architecture }}
21
+ cache: 'gradle'
22
23
+ - name: Build with Gradle
24
+ run: ./gradlew asciidoc
25
26
+ - name: GitHub Pages Publish
27
+ run: ./gradlew publishGhPages
28
+ env:
29
+ GITHUB_USER: ${{ secrets.GH_DEPLOY_USER }}
30
+ GITHUB_TOKEN: ${{ secrets.GH_DEPLOY_TOKEN }}
0 commit comments