Skip to content

Commit

Permalink
build: setup rolling release
Browse files Browse the repository at this point in the history
  • Loading branch information
ddlees committed Aug 3, 2022
1 parent 32e2422 commit 71f6314
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,5 +55,18 @@ jobs:
GOOS: ${{ matrix.os }}
GOARCH: ${{ matrix.arch }}

- name: Test
run: go test ./...
- name: Zip
if: "! startsWith(github.event_name, 'pull_request')"
run: 7z a -tzip -mx9 azurehound-${{ matrix.os }}-${{ matrix.arch }}.zip azurehound*

- name: Update Rolling Release
if: "! startsWith(github.event_name, 'pull_request')"
uses: softprops/action-gh-release@v1
with:
name: Rolling Release (unstable)
tag_name: rolling
prerelease: true
files: azurehound-${{ matrix.os }}-${{ matrix.arch }}.zip
body: |
Rolling release of AzureHound compiled from source (${{ github.sha }})
This is automatically kept up-to-date with the `${{ github.ref_name }}` ${{ github.ref_type }}

0 comments on commit 71f6314

Please sign in to comment.