-
Notifications
You must be signed in to change notification settings - Fork 0
45 lines (38 loc) · 1.11 KB
/
release.yml
File metadata and controls
45 lines (38 loc) · 1.11 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
name: release.yml
on:
workflow_call:
permissions:
contents: read
jobs:
release:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v6
- name: Download framework artifacts
uses: actions/download-artifact@v8
with:
name: framework-artifact
path: framework-artifacts/
- name: Download extensions artifacts
uses: actions/download-artifact@v8
with:
name: extensions-artifact
path: extensions-artifacts/
- name: Upload framework JAR to release
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: framework-artifacts/*.jar
file_glob: true
tag: ${{ github.ref }}
overwrite: true
- name: Upload extension JARs to release
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: extensions-artifacts/**/*-all.jar
file_glob: true
tag: ${{ github.ref }}
overwrite: true