Skip to content

refactor(github): finalize and change structure of build file #2

refactor(github): finalize and change structure of build file

refactor(github): finalize and change structure of build file #2

Workflow file for this run

name: Test build for all binaries
on:
push:
branches:
- master
- development
jobs:
# For testing
test-build-client:
uses: ./.github/workflows/reusable-build-golang-alpine.yml
with:
make_command: build-client
secrets: inherit
test-build-tunnel:
uses: ./.github/workflows/reusable-build-golang-alpine.yml
with:
make_command: build-tunnel
secrets: inherit
artifact-client:
needs: test-build-client
uses: ./.github/workflows/reusable-build-golang-alpine.yml
with:
make_command: build-client
use_artifacts: true
binary_name: mdrop
secrets: inherit
artifact-tunnel:
needs: test-build-tunnel
uses: ./.github/workflows/reusable-build-golang-alpine.yml
with:
make_command: build-tunnel
use_artifacts: true
binary_name: mdrop-tunnel
secrets: inherit
artifact-client-upload:
needs: artifact-client
uses: ./.github/workflows/reusable-upload-s3.yml
with:
binary_name: mdrop
secrets: inherit
artifact-tunnel-upload:
needs: artifact-tunnel
uses: ./.github/workflows/reusable-upload-s3.yml
with:
binary_name: mdrop-tunnel
secrets: inherit