forked from usnistgov/OSCAL
-
Notifications
You must be signed in to change notification settings - Fork 0
31 lines (31 loc) · 888 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
name: Package Release
on:
push:
tags:
- v*
jobs:
package-release:
name: Package Release
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
with:
submodules: recursive
- uses: actions/setup-java@v4
with:
distribution: "temurin"
java-version: "17"
- name: Generate artifacts
# RELEASE is set to the tag name (vX.X.X) without the first character
run: |
make -j2 artifacts archives RELEASE=${GITHUB_REF_NAME:1}
working-directory: build
- name: Create release
uses: softprops/action-gh-release@v1
with:
token: ${{ secrets.COMMIT_TOKEN }}
draft: true
generate_release_notes: true
fail_on_unmatched_files: true
files: |
build/generated/oscal*