diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 5bb42acd2..353f0d5cc 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -16,13 +16,13 @@ jobs: go: ["1.17.x", "1.18.x"] steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3.3.0 - name: License check run: ./scripts/licensecheck.sh - name: Go installation - uses: actions/setup-go@v2 + uses: actions/setup-go@v3.5.0 with: go-version: ${{ matrix.go }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 000000000..e6815a14b --- /dev/null +++ b/.github/workflows/release.yml @@ -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