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

Merge pull request #50 from dabumana/contributing #16

Merge pull request #50 from dabumana/contributing

Merge pull request #50 from dabumana/contributing #16

Workflow file for this run

name: Release
on:
push:
branches: [ "main" ]
permissions:
contents: write
jobs:
build:
runs-on: ${{'ubuntu-latest' || 'macos-latest' || 'windows-latest' }}
steps:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.19
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
persist-credentials: false
- name: Versioned
id: semantic
uses: go-semantic-release/action@v1
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
force-bump-patch-version: true
- name: Dependencies
run: sudo apt-get update && sudo apt-get install libcurl4-openssl-dev --fix-missing
- name: Build
run: make build APP=caos VERSION=${{ steps.semantic.outputs.version }}