From 437b81a126190f1a86cbe0bceb635e4e66e94a5c Mon Sep 17 00:00:00 2001 From: Karma Riuk Date: Fri, 11 Aug 2023 14:27:24 +0200 Subject: [PATCH] Updated the github workflows --- .github/workflows/automatic-prerelease.yml | 17 ++++++++++------- .github/workflows/tagged-release.yml | 17 ++++++++++------- 2 files changed, 20 insertions(+), 14 deletions(-) diff --git a/.github/workflows/automatic-prerelease.yml b/.github/workflows/automatic-prerelease.yml index dfff7d3..8a996ba 100644 --- a/.github/workflows/automatic-prerelease.yml +++ b/.github/workflows/automatic-prerelease.yml @@ -12,10 +12,16 @@ jobs: runs-on: "ubuntu-latest" steps: - # ... - - name: "Build & test" - run: | - echo "done!" + - uses: actions/checkout@v3 + + - name: Set up Go + uses: actions/setup-go@v4 + + - name: Build + run: go build -v ./... + + - name: Test + run: go test -v ./... - uses: "marvinpinto/action-automatic-releases@latest" with: @@ -23,6 +29,3 @@ jobs: automatic_release_tag: "latest" prerelease: true title: "Development Build" - files: | - LICENSE.txt - *.jar diff --git a/.github/workflows/tagged-release.yml b/.github/workflows/tagged-release.yml index bb94ea6..83c82d4 100644 --- a/.github/workflows/tagged-release.yml +++ b/.github/workflows/tagged-release.yml @@ -12,15 +12,18 @@ jobs: runs-on: "ubuntu-latest" steps: - # ... - - name: "Build & test" - run: | - echo "done!" + - uses: actions/checkout@v3 + + - name: Set up Go + uses: actions/setup-go@v4 + + - name: Build + run: go build -v ./... + + - name: Test + run: go test -v ./... - uses: "marvinpinto/action-automatic-releases@latest" with: repo_token: "${{ secrets.GITHUB_TOKEN }}" prerelease: false - files: | - LICENSE.txt - *.jar