-
-
Notifications
You must be signed in to change notification settings - Fork 21
39 lines (38 loc) · 963 Bytes
/
release.yml
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
---
# SPDX-FileCopyrightText: (c) 2022 ale5000
# SPDX-License-Identifier: GPL-3.0-or-later
# SPDX-FileType: SOURCE
name: "Release"
permissions: {}
on:
push:
tags:
- "v*"
workflow_dispatch:
jobs:
base-job:
name: "Release"
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: "Check out code"
uses: actions/checkout@v4
- name: "Set up Java"
uses: actions/setup-java@v4
with:
distribution: "temurin"
java-version: "17"
- name: "Build"
shell: bash
run: |
### Building...
'${{ github.workspace }}/gradlew' clean buildOtaOSS
- name: "Upload release"
uses: ncipollo/release-action@v1
with:
allowUpdates: true
artifactErrorsFailBuild: false
artifacts: "output/*.zip*"
body: "See the full [**changelog**](./CHANGELOG.rst)."
replacesArtifacts: false