Skip to content

Commit

Permalink
Merge pull request #145 from v0ctor/feature/workflows
Browse files Browse the repository at this point in the history
Automatically create releases
  • Loading branch information
v0ctor authored Feb 24, 2023
2 parents 9f7e40d + ae0dbd5 commit 3875ea0
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ jobs:
go: ["1.19", "1.18"]
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3.3.0

- name: License check
run: ./scripts/license-check.sh

- name: Go installation
uses: actions/setup-go@v2
uses: actions/setup-go@v3.5.0
with:
go-version: ${{ matrix.go }}

Expand Down
19 changes: 19 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
name: Release

on:
push:
tags:
- "netbox_*"

jobs:
Release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3.3.0

- name: Release
uses: softprops/action-gh-release@v0.1.15
with:
generate_release_notes: true

0 comments on commit 3875ea0

Please sign in to comment.