-
Notifications
You must be signed in to change notification settings - Fork 35
38 lines (36 loc) · 1.46 KB
/
create_release.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
name: Make release
on:
push:
branches:
- "main"
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Bump version and push tag
id: tag_version
uses: mathieudutour/github-tag-action@v5.6
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
- name: Build aws tgz
run: bash make-release-satellite.sh --dirname gh --version ${{ steps.tag_version.outputs.new_tag }} --cloud aws
- name: Build azure tgz
run: bash make-release-satellite.sh --dirname gh --version ${{ steps.tag_version.outputs.new_tag }} --cloud azure
- name: Build gcp tgz
run: bash make-release-satellite.sh --dirname gh --version ${{ steps.tag_version.outputs.new_tag }} --cloud gcp
- name: Build ibm tgz
run: bash make-release-satellite.sh --dirname gh --version ${{ steps.tag_version.outputs.new_tag }} --cloud ibm
- name: Build vmware tgz
run: bash make-release-satellite.sh --dirname gh --version ${{ steps.tag_version.outputs.new_tag }} --cloud vmware
- name: Release
uses: softprops/action-gh-release@v1
with:
tag_name: ${{ steps.tag_version.outputs.new_tag }}
files: |
releases/aws-*.tgz
releases/azure-*.tgz
releases/gcp-*.tgz
releases/ibm-*.tgz
releases/vmware-*.tgz