diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5ae8dec..ff4864a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -8,14 +8,22 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 - - - name: Run build - run: bash build.sh + with: + ref: ${{ github.ref_name }} - name: Setup Go uses: actions/setup-go@v5 with: go-version: 'stable' + + - name: Run setup + run: bash setup.sh + + - name: Run tests + run: bash tests/run_tests.sh + + - name: Run build + run: bash build.sh - name: Release uses: softprops/action-gh-release@v2 diff --git a/README.md b/README.md index 769a195..2d11437 100644 --- a/README.md +++ b/README.md @@ -49,7 +49,11 @@ Always create an `issue` at github before you start changing things that you wan - Requirements: [Download Go](https://go.dev/dl/) and [Install Go](https://go.dev/doc/install) - If you do development on a windows machine, use WSL with a linux distro -## Build/Compile +## Create release +We create releases with an automated action, see `` + + +## Build/Compile local - Requirements: run `bash setup.sh` Just have a look at `build.sh` to see a list of all supported platforms and architectures and show to compile them with a single command line call.