-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (28 loc) · 790 Bytes
/
release.yml
File metadata and controls
36 lines (28 loc) · 790 Bytes
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
name: release
on:
push:
tags:
- "v*"
jobs:
release:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Run desktop tests
run: bash scripts/run_desktop_tests.sh
- name: Run benchmark gate
run: bash scripts/run_desktop_benchmark.sh --enforce-performance
- name: Package source
run: |
mkdir -p dist
git archive --format=tar.gz --output=dist/zerokernel-${GITHUB_REF_NAME}.tar.gz HEAD
- name: Publish GitHub release
uses: softprops/action-gh-release@v2
with:
files: |
dist/zerokernel-${{ github.ref_name }}.tar.gz
zerokernel.manifest.json
CHANGELOG.md