-
Notifications
You must be signed in to change notification settings - Fork 10
28 lines (26 loc) · 983 Bytes
/
buildRelase.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
name: 'Build IBM release'
on:
push:
tags:
- 'v*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: 'Make the Distribution Directory'
run: |
mkdir ibm-fortigate-terraform-deploy
- name: 'Copy the files'
run: |
cp *.tf *.conf LICENSE README.md ./ibm-fortigate-terraform-deploy/
- name: 'Build the ZIP'
run: |
tar -czf ibm-fortigate-terraform-deploy-singlevm.tar.gz ibm-fortigate-terraform-deploy/
- uses: 'marvinpinto/action-automatic-releases@latest'
with:
repo_token: '${{ secrets.IBM_TOKEN }}'
prerelease: false
title: 'Release-ibm-fortigate-terraform-deploy-singlevm ${{github.ref_name}}'
files: |
ibm-fortigate-terraform-deploy-singlevm.tar.gz