Updated the github workflows
This commit is contained in:
parent
485efeebaf
commit
8a6543cc1e
17
.github/workflows/automatic-prerelease.yml
vendored
17
.github/workflows/automatic-prerelease.yml
vendored
@ -12,10 +12,16 @@ jobs:
|
|||||||
runs-on: "ubuntu-latest"
|
runs-on: "ubuntu-latest"
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
# ...
|
- uses: actions/checkout@v3
|
||||||
- name: "Build & test"
|
|
||||||
run: |
|
- name: Set up Go
|
||||||
echo "done!"
|
uses: actions/setup-go@v4
|
||||||
|
|
||||||
|
- name: Build
|
||||||
|
run: go build -v ./...
|
||||||
|
|
||||||
|
- name: Test
|
||||||
|
run: go test -v ./...
|
||||||
|
|
||||||
- uses: "marvinpinto/action-automatic-releases@latest"
|
- uses: "marvinpinto/action-automatic-releases@latest"
|
||||||
with:
|
with:
|
||||||
@ -23,6 +29,3 @@ jobs:
|
|||||||
automatic_release_tag: "latest"
|
automatic_release_tag: "latest"
|
||||||
prerelease: true
|
prerelease: true
|
||||||
title: "Development Build"
|
title: "Development Build"
|
||||||
files: |
|
|
||||||
LICENSE.txt
|
|
||||||
*.jar
|
|
||||||
|
17
.github/workflows/tagged-release.yml
vendored
17
.github/workflows/tagged-release.yml
vendored
@ -12,15 +12,18 @@ jobs:
|
|||||||
runs-on: "ubuntu-latest"
|
runs-on: "ubuntu-latest"
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
# ...
|
- uses: actions/checkout@v3
|
||||||
- name: "Build & test"
|
|
||||||
run: |
|
- name: Set up Go
|
||||||
echo "done!"
|
uses: actions/setup-go@v4
|
||||||
|
|
||||||
|
- name: Build
|
||||||
|
run: go build -v ./...
|
||||||
|
|
||||||
|
- name: Test
|
||||||
|
run: go test -v ./...
|
||||||
|
|
||||||
- uses: "marvinpinto/action-automatic-releases@latest"
|
- uses: "marvinpinto/action-automatic-releases@latest"
|
||||||
with:
|
with:
|
||||||
repo_token: "${{ secrets.GITHUB_TOKEN }}"
|
repo_token: "${{ secrets.GITHUB_TOKEN }}"
|
||||||
prerelease: false
|
prerelease: false
|
||||||
files: |
|
|
||||||
LICENSE.txt
|
|
||||||
*.jar
|
|
||||||
|
Loading…
Reference in New Issue
Block a user