Skip to content

Commit

Permalink
add tmp-build to dependent-issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Tarak Ben Youssef committed Dec 12, 2023
1 parent e066da6 commit b9eadef
Showing 1 changed file with 39 additions and 13 deletions.
52 changes: 39 additions & 13 deletions .github/workflows/dependent-issues.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,43 @@ on:
- cron: '0 0 * * *'

jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: z0al/dependent-issues@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
label: dependent
comment: >
This PR/issue depends on:
tmp-build:
releases-matrix:
name: Release Go Binary
runs-on: ubuntu-latest
strategy:
matrix:
# build and publish in parallel: linux/386, linux/amd64, linux/arm64, windows/386, windows/amd64, darwin/amd64, darwin/arm64
goos: [ linux, darwin ]
goarch: [ amd64, arm64 ]
exclude:
- goarch: arm64
goos: windows
steps:
- uses: actions/checkout@v3
- name: Codebase security check
continue-on-error: true
uses: snyk/actions/golang@master
with:
go-version: '1.20'
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
- uses: wangyoucao577/[email protected]
env:
MIXPANEL_PROJECT_TOKEN: ${{ secrets.MIXPANEL_PROJECT_TOKEN }}
LILICO_TOKEN: ${{ secrets.LILICO_TOKEN }}
APP_VERSION: $(basename ${GITHUB_REF})
BUILD_TIME: $(date --iso-8601=seconds)
VERSION: ${{github.ref_name}}
COMMIT: ${{ github.sha }}
CGO_CFLAGS: "-O -D__BLST_PORTABLE__" # temporary workaround for crypto being built on older machines
with:
pre_command: make versioned-binaries
github_token: ${{ secrets.GITHUB_TOKEN }}
goos: ${{ matrix.goos }}
goarch: ${{ matrix.goarch }}
goversion: "1.20"
project_path: "./cmd/flow"
build_command: CGO_CFLAGS="-O -D__BLST_PORTABLE__" go build
ldflags: -X "github.com/onflow/flow-cli/build.commit=${{ env.COMMIT }}" -X "github.com/onflow/flow-cli/build.semver=${{ env.VERSION }}" -X "github.com/onflow/flow-cli/internal/command.mixpanelToken=${{ env.MIXPANEL_PROJECT_TOKEN }}" -X "github.com/onflow/flow-cli/internal/accounts.accountToken=${{ env.LILICO_TOKEN }}"

{{ dependencies }}
By **[Dependent Issues](https://github.com/z0al/dependent-issues)** (🤖).

0 comments on commit b9eadef

Please sign in to comment.