Allow running fablab apps using fablab executable. Add sync-binaries command. Allow using native ssh app. #320
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build | |
on: | |
push: | |
branches: | |
- main | |
- release-* | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Git Checkout | |
uses: actions/checkout@v3 | |
with: | |
persist-credentials: false | |
- name: Install Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: '1.20.x' | |
- name: Install Ziti CI | |
uses: openziti/ziti-ci@v1 | |
- name: Build and Test | |
run: go test ./... --tags apitests | |
- name: Release | |
env: | |
gh_ci_key: ${{ secrets.GH_CI_KEY }} | |
ziti_ci_gpg_key: ${{ secrets.ZITI_CI_GPG_KEY }} | |
ziti_ci_gpg_key_id: ${{ secrets.ZITI_CI_GPG_KEY_ID }} | |
if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/release-') | |
run: | | |
$(go env GOPATH)/bin/ziti-ci configure-git | |
$(go env GOPATH)/bin/ziti-ci tag -v -f version |