-
Notifications
You must be signed in to change notification settings - Fork 2
46 lines (40 loc) · 1.29 KB
/
create_release.yml
File metadata and controls
46 lines (40 loc) · 1.29 KB
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
---
name: Create vAccel release
on:
workflow_dispatch:
inputs:
tag:
description: "Tag to create release for"
required: true
default: 'warning'
jobs:
create_release:
runs-on: [self-hosted]
steps:
- name: Setup vars
id: vars
run: |
echo "::set-output name=uid::$(id -u)"
echo "::set-output name=gid::$(id -g)"
- name: Download artifacts
uses: cloudkernels/minio-download@v2
with:
url: https://s3.nubificus.co.uk
access-key: ${{ secrets.AWS_ACCESS_KEY }}
secret-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
remote-path: nbfc-assets/github/vaccel/${{github.event.inputs.tag}}/
local-path: /github/workspace/release/
env:
ACTION_UID: ${{steps.vars.outputs.uid}}
ACTION_GID: ${{steps.vars.outputs.gid}}
- name: Create Release
uses: marvinpinto/action-automatic-releases@latest
with:
repo_token: ${{secrets.GITHUB_TOKEN}}
automatic_release_tag: ${{github.event.inputs.tag}}
title: "vAccel release ${{github.event.inputs.tag}}"
files: |
release/vaccel_x86_64_Debug.tar.gz
release/vaccel_x86_64_Release.tar.gz
release/vaccel_aarch64_Debug.tar.gz
release/vaccel_aarch64_Release.tar.gz