This repository has been archived by the owner on Jan 21, 2024. It is now read-only.
Merge pull request #46 from dabumana/developer #12
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |