Skip to content

Commit 02d0775

Browse files
committed
Add static reference
[skip ci]
1 parent ea6aced commit 02d0775

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/release-gradle.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,32 @@ jobs:
2121
# Set outputs for use in later jobs or steps
2222
echo "build_number=$BUILD_NUMBER" >> $GITHUB_OUTPUT
2323
echo "version=$VERSION" >> $GITHUB_OUTPUT
24+
reference:
25+
name: Publish Processing Reference to release
26+
runs-on: ubuntu-latest
27+
needs: version
28+
steps:
29+
- name: Checkout Website Repository
30+
uses: actions/checkout@v4
31+
with:
32+
repository: processing/processing-website
33+
- name: Use Node.js 16
34+
uses: actions/setup-node@v3
35+
with:
36+
node-version: 16
37+
- name: Install dependencies
38+
run: npm ci
39+
- name: Build
40+
run: npm run build
41+
- name: Make reference.zip
42+
run: npm run zip
43+
- name: Upload reference to release
44+
uses: svenstaro/upload-release-action@v2
45+
with:
46+
repo_token: ${{ secrets.GITHUB_TOKEN }}
47+
asset_name: processing-${{ needs.version.outputs.version }}-reference.zip
48+
file: reference.zip
49+
2450
publish:
2551
name: Publish Processing Libraries to Maven Central
2652
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)