Skip to content
This repository has been archived by the owner on Jun 9, 2024. It is now read-only.

Merge pull request #156 from Ichabond/tstrickx/NETSYS-264 #161

Merge pull request #156 from Ichabond/tstrickx/NETSYS-264

Merge pull request #156 from Ichabond/tstrickx/NETSYS-264 #161

Workflow file for this run

name: Go
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.x
uses: actions/setup-go@v2
with:
go-version: ^1.20
- name: Check out code into the Go module directory
uses: actions/checkout@v2
with:
fetch-depth: '0'
- name: Test & Vet
run: make test vet
- name: Build
run: |
GOOS=linux make build-octorpki
GOOS=darwin make build-octorpki
GOOS=windows EXTENSION=.exe make build-octorpki
- name: Install fpm
run: |
sudo apt-get update
sudo apt-get install -y rpm ruby ruby-dev
sudo gem install fpm
- name: Package
run: make package-deb-octorpki package-rpm-octorpki
- name: Upload Artifact
uses: actions/upload-artifact@v2
with:
name: dist
path: dist/*
retention-days: 14