-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (29 loc) · 971 Bytes
/
tar.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
name: Build
on: [push, pull_request]
jobs:
tar:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Install dependencies
run: sudo scripts/dependencies.sh
- name: Build package
run: "CI_COMMIT_REF_NAME=\"${{ github.ref_name }}\" CI_COMMIT_SHORT_SHA=\"${{ github.sha }}\" make tar"
- name: Upload package
uses: actions/upload-artifact@v3
with:
name: true-ingress.tar.bz2
path: pkg/true-ingress.tar.bz2
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
pkg/true-ingress.tar.bz2
scripts/gue_ping_svc_auto.service
scripts/install-true-ingress
- name: Set Go module checksum
run: "GOPROXY=proxy.golang.org go list -m epic-gateway.org/true-ingress@${{ github.ref_name }}"
if: startsWith(github.ref, 'refs/tags/')