Updated the github workflows
This commit is contained in:
parent
0cdbb37368
commit
437b81a126
17
.github/workflows/automatic-prerelease.yml
vendored
17
.github/workflows/automatic-prerelease.yml
vendored
@ -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
|
||||
|
17
.github/workflows/tagged-release.yml
vendored
17
.github/workflows/tagged-release.yml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user