Skip to content

make sure to pkill rmb before starting #188

make sure to pkill rmb before starting

make sure to pkill rmb before starting #188

name: Release (testing)
on:
push:
# Matching on any tags which is not a production release
# Matching:
# - v1.0.0-beta5
# - v1.0.1-rc3
# - v2.1.4-hotfix-87
#
# Ignoring:
# - v1.0.0
# - v1.1.0
# - v2.1.13
tags:
- "v*-*"
jobs:
build:
name: Build and upload
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.21
uses: actions/setup-go@v1
with:
go-version: 1.21
id: go
- name: Checkout code into the Go module directory
uses: actions/checkout@v1
- name: Build binaries
run: |
go generate ./pkg/capacity/...
cd cmds
make
env:
GO111MODULE: on
- name: Collecting files
run: |
scripts/collect.sh ${{ github.workspace }}/archive
- name: Uploading flist (${{ github.ref }})
if: success()
uses: threefoldtech/publish-flist@master
with:
token: ${{ secrets.HUB_JWT }}
action: publish
user: tf-autobuilder
root: archive
name: zos-${{ github.ref }}.flist
- name: Rename flist from zos-${{ github.ref }}.flist to zos:${{ github.ref }}.flist
if: success()
uses: threefoldtech/publish-flist@master
with:
token: ${{ secrets.HUB_JWT }}
action: rename
user: tf-autobuilder
name: zos-${{ github.ref }}.flist
target: zos:${{ github.ref }}.flist