Skip to content

refactor(github): change script to github actions #9

refactor(github): change script to github actions

refactor(github): change script to github actions #9

name: Upload file to S3
on:
push:
branches:
- master
- development
jobs:
client:
uses: ./.github/workflows/reusable-build-golang-alpine.yml
with:
make_command: build-client
use_artifacts: true
binary_name: mdrop
secrets: inherit
tunnel:
uses: ./.github/workflows/reusable-build-golang-alpine.yml
with:
make_command: build-tunnel
use_artifacts: true
binary_name: mdrop-tunnel
secrets: inherit
client-upload:
needs: client
uses: ./.github/workflows/reusable-upload-s3.yml

Check failure on line 28 in .github/workflows/build-upload-binary.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/build-upload-binary.yml

Invalid workflow file

error parsing called workflow ".github/workflows/build-upload-binary.yml" -> "./.github/workflows/reusable-upload-s3.yml" (source branch with sha:9d3a8379addcb47e141be03d8d63b9af93717250) : the `uses' attribute must be a path, a Docker image, or owner/repo@ref
with:
binary_name: mdrop
secrets: inherit
tunnel-upload:
needs: [tunnel, client-upload]
uses: ./.github/workflows/reusable-upload-s3.yml
with:
binary_name: mdrop-tunnel
secrets: inherit