-
Notifications
You must be signed in to change notification settings - Fork 0
74 lines (60 loc) · 2.47 KB
/
Copy pathrelease.yaml
File metadata and controls
74 lines (60 loc) · 2.47 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
# SPDX-License-Identifier: MIT
# Copyright: 2026 NiceBots.xyz
name: Release
on:
push:
tags: [ "v*.*.*" ]
jobs:
quality:
uses: ./.github/workflows/quality.yaml
permissions:
contents: read
native-image:
needs: quality
uses: ./.github/workflows/native-image.yaml
permissions:
contents: read
publish:
runs-on: ubuntu-latest
needs: native-image
permissions:
contents: write
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Download platform bundle inputs
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
with:
path: platform-staging
merge-multiple: false
- name: Prepare release bundles
shell: bash
run: |
set -euo pipefail
chmod +x packaging/bundle-release.sh
packaging/bundle-release.sh "${GITHUB_REF_NAME}" platform-staging
- name: Create GitHub Release and upload assets
uses: softprops/action-gh-release@b4309332981a82ec1c5618f44dd2e27cc8bfbfda # v3.0.0
with:
generate_release_notes: true
body: |
## Install
Each archive contains a platform-native GraalVM executable. Java is not required at runtime.
| Platform | Archive |
|----------|---------|
| Linux x64 | `licensor-${{ github.ref_name }}-linux-x86_64.tar.gz` |
| Linux arm64 | `licensor-${{ github.ref_name }}-linux-aarch64.tar.gz` |
| macOS Intel | `licensor-${{ github.ref_name }}-macos-x86_64.tar.gz` |
| macOS Apple Silicon | `licensor-${{ github.ref_name }}-macos-aarch64.tar.gz` |
| Windows x64 | `licensor-${{ github.ref_name }}-windows-x86_64.zip` |
**Linux / macOS:** extract, add the folder to `PATH`, run `licensor --help`.
**Windows:** extract, add the folder to `PATH`, run `licensor.exe`.
Verify with `SHA256SUMS.txt`.
Note: 32-bit Linux (x86) is not supported by this native release matrix.
---
files: |
dist/licensor-${{ github.ref_name }}-linux-x86_64.tar.gz
dist/licensor-${{ github.ref_name }}-linux-aarch64.tar.gz
dist/licensor-${{ github.ref_name }}-macos-x86_64.tar.gz
dist/licensor-${{ github.ref_name }}-macos-aarch64.tar.gz
dist/licensor-${{ github.ref_name }}-windows-x86_64.zip
dist/SHA256SUMS.txt