-
Notifications
You must be signed in to change notification settings - Fork 1
36 lines (29 loc) · 747 Bytes
/
Copy pathrelease.yml
File metadata and controls
36 lines (29 loc) · 747 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*'
permissions:
contents: write
jobs:
release:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '1.22'
cache: true
- name: Install squashfs-tools
run: sudo apt-get update && sudo apt-get install -y squashfs-tools
- name: Build sysext
run: VERSION="${GITHUB_REF_NAME#v}" ./build.sh
- name: Show artifact
run: ls -lh dist/
- name: Create release
uses: softprops/action-gh-release@v2
with:
files: |
dist/zima_vm_extras.raw
dist/zima_vm_extras.raw.sha256
generate_release_notes: true