Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wip #118

Merged
merged 1 commit into from
Nov 4, 2024
Merged

wip #118

Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 44 additions & 0 deletions .github/workflows/release-dev-pro.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: Create a dev pro release

on:
workflow_dispatch:
push:
branches:
- master

permissions:
contents: write

jobs:
build:
name: "build"
strategy:
matrix:
go: [stable]
os:
- ubuntu-latest
- macos-latest
arch:
- arm64
- amd64
runs-on: ${{ matrix.os }}
env:
GOPRIVATE: "github.com/humanlogio/humanlog-pro"
GH_ACCESS_TOKEN_FOR_HUMANLOGPRO: ${{ secrets.GH_ACCESS_TOKEN_FOR_HUMANLOGPRO }}
GOARCH: ${{ matrix.arch }}
CGO_ENABLED: 1
steps:
- name: Set up Go 1
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}
cache: true
- uses: actions/checkout@v3
with:
fetch-depth: 0
- run: git config --global --add safe.directory '*'
- run: git config --global url.https://[email protected]/.insteadOf https://github.com/
- run: go install github.com/goware/modvendor@latest
- run: go mod vendor
- run: modvendor -copy="**/*.a **/*.h" -v
- run: go build -tags pro -o /tmp/humanlog-${{ matrix.os }}-${{ matrix.arch }} ./cmd/humanlog
Loading