Skip to content

Commit

Permalink
git actions
Browse files Browse the repository at this point in the history
  • Loading branch information
dhubler committed Jul 19, 2023
1 parent 4e8ffec commit 490f057
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 1 deletion.
28 changes: 28 additions & 0 deletions .github/workflows/fc-yang.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: GitHub Actions Demo

on: [push]

jobs:

build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.20'

- name: Test
run: make test

- name: Dist
run: make dist

- name: Push binaries
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
./bin/fc-yang-*
2 changes: 1 addition & 1 deletion cmd/fc-yang/doc/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import (
"github.com/freeconf/yang/source"
)

// Run "freeconf get ..." command
// Run "freeconf doc ..." command
func Run() {
var on featureParams
var off featureParams
Expand Down

0 comments on commit 490f057

Please sign in to comment.