-
Notifications
You must be signed in to change notification settings - Fork 55
43 lines (37 loc) · 881 Bytes
/
Copy pathpackaging.yml
File metadata and controls
43 lines (37 loc) · 881 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
37
38
39
40
41
42
43
name: Packaging
on:
pull_request:
branches:
- main
- "[0-9]+.[0-9]+"
- "8.x"
types: [opened, synchronize, reopened]
env:
DEV: true
SNAPSHOT: true
PLATFORMS: linux/amd64
GOPATH: /home/runner/go
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
package_beat:
name: Package Cloudbeat
runs-on: ubuntu-22.04
timeout-minutes: 40
strategy:
fail-fast: false
matrix:
types: [tar.gz, docker]
steps:
- name: Check out the repo
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: Hermit Environment
uses: ./.github/actions/hermit
with:
init-tools: 'true'
- name: Packaging
run: |
mage -v package
env:
TYPES: ${{ matrix.types }}