Skip to content

hotfix: missing logrus dependency #105

hotfix: missing logrus dependency

hotfix: missing logrus dependency #105

Workflow file for this run

name: Release Linux Version
on:
workflow_dispatch:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+'
branches-ignore:
- '*'
jobs:
release-linux:
if: startsWith(github.ref, 'refs/tags/v')
runs-on: ubuntu-latest
environment: production
steps:
- uses: actions/checkout@v3
- name: Ubuntu update package
run: |
sudo apt update -y
sudo apt install libvips-dev
- name: Golang Installation
uses: actions/setup-go@v3
with:
go-version: '1.20'
- name: Golang setup dependency
run: |
go version
go install github.com/markbates/pkger/cmd/pkger@latest
- name: Golang build
run: |
cd src && pkger && go build -o linux-amd64
- name: Deploy artifact to release ${{ github.ref_name }}
uses: AButler/[email protected]
with:
files: 'src/linux-amd64'
repo-token: ${{ secrets.GITHUB_TOKEN }}
release-tag: ${{ github.ref_name }}