Skip to content

Create go.yml

Create go.yml #1

Workflow file for this run

name: Build Passgen
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.16
- name: Build
run: ./scripts/build.sh
- name: Commit and push if changed
run: |
git config --global user.name 'GitHub Actions'
git config --global user.email 'github-actions@github.com'
git add bin/
git commit -m "Build and Update binary files" || exit 0
git push