Skip to content

feat(cli): make log level configurable through the commandline #31

feat(cli): make log level configurable through the commandline

feat(cli): make log level configurable through the commandline #31

Workflow file for this run

name: Release
on:
push:
branches:
- main
- dev
permissions:
contents: read # for checkout
jobs:
release:
name: Release
runs-on: ubuntu-latest
permissions:
contents: write # to be able to publish a GitHub release
issues: write # to be able to comment on released issues
pull-requests: write # to be able to comment on released pull requests
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "lts/*"
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: npx semantic-release
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: '1.22.x'
- name: Install quill CLI
run: curl -sSfL https://raw.githubusercontent.com/anchore/quill/main/install.sh | sh -s -- -b /usr/local/bin
- name: Check if snapshot build
if: "!contains(github.ref, 'main')"
run: echo "flags=--snapshot" >> $GITHUB_ENV
- uses: goreleaser/goreleaser-action@v5
with:
version: v1.25.1
args: release --clean ${{ env.flags }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
QUILL_SIGN_P12: ${{ secrets.QUILL_SIGN_P12 }}
QUILL_SIGN_PASSWORD: ${{ secrets.QUILL_SIGN_PASSWORD }}
QUILL_NOTARY_KEY: ${{ secrets.QUILL_NOTARY_KEY }}
QUILL_NOTARY_KEY_ID: ${{ secrets.QUILL_NOTARY_KEY_ID }}
QUILL_NOTARY_ISSUER: ${{ secrets.QUILL_NOTARY_ISSUER }}
- name: Upload dist artifacts to GitHub when not on main
uses: actions/upload-artifact@v4
if: "!contains(github.ref, 'main')"
with:
name: gpcore
path: dist/*