-
Notifications
You must be signed in to change notification settings - Fork 1
62 lines (59 loc) · 1.94 KB
/
on-release-tag.yml
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
54
55
56
57
58
59
60
61
62
name: "On Release"
on:
push:
# Publish `1.2.3` tags as releases.
tags:
- "*"
# Allow to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
release_amd64_arm64:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- name: Install Binnacle
run: |
curl -fsSL https://github.com/kadalu/binnacle/releases/latest/download/install.sh | sudo bash -x
binnacle --version
- name: Release builds
run: sudo VERSION="${{ github.ref_name }}" binnacle -vv ci/release_build.t
- name: Upload binary files to the release
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: bin/kadalu-volgen-*
tag: ${{ github.ref }}
overwrite: true
file_glob: true
- name: Upload Template files to the release
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: templates/*
tag: ${{ github.ref }}
overwrite: true
file_glob: true
- name: Upload install.sh file to the release
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: extras/install.sh
tag: ${{ github.ref }}
overwrite: true
file_glob: true
- name: Upload Python files to the release
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: sdk/python/kadalu_volgen/*.py
tag: ${{ github.ref }}
overwrite: true
file_glob: true
- name: Upload setup.py to the release
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: sdk/python/setup.py
tag: ${{ github.ref }}
overwrite: true
file_glob: true