-
Notifications
You must be signed in to change notification settings - Fork 2
53 lines (50 loc) · 1.1 KB
/
build_wsl2-amd64.yaml
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
name: Build WSL2 Profile
on:
push:
tags:
- 'v**'
branches:
- 'main'
- 'dev'
paths-ignore:
- '**.md'
- '**.txt'
pull_request:
branches:
- 'main'
- 'dev'
paths-ignore:
- '**.md'
- '**.txt'
env:
CI_ENV: IN_CI
jobs:
build:
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: 'actions/checkout@v4'
- name: Build
run: |
sudo -E ./make wsl2_amd64
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: rootfs-amd64.zst
path: |
output/rootfs-amd64.zst
output/rootfs-amd64.zst.sha256sum
if-no-files-found: error
overwrite: true
- name: Release
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
generate_release_notes: true
files: |
output/rootfs-amd64.zst
output/rootfs-amd64.zst.sha256sum
append_body: true
draft: false
prerelease: false
make_latest: true