lets go back to manual tags
This commit is contained in:
parent
471a545ba3
commit
659b9ddaca
1 changed files with 15 additions and 5 deletions
|
@ -1,6 +1,6 @@
|
|||
on: [push]
|
||||
jobs:
|
||||
release:
|
||||
test:
|
||||
runs-on: docker
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
@ -8,15 +8,25 @@ jobs:
|
|||
with:
|
||||
go-version: '1.22'
|
||||
- run: go build
|
||||
- uses: https://github.com/EndBug/latest-tag@v1.6.2
|
||||
- uses: forgejo/upload-artifact@v3
|
||||
with:
|
||||
name: morffix
|
||||
path: morffix
|
||||
release:
|
||||
runs-on: docker
|
||||
if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version: '1.22'
|
||||
- run: go build
|
||||
- uses: actions/forgejo-release@eb0fcc44a150c0de82e6fdb36752dd56bf27d017
|
||||
with:
|
||||
direction: upload
|
||||
url: https://git.soontm.de
|
||||
release-dir: ./
|
||||
release-notes: "Latest Release"
|
||||
override: true
|
||||
tag: latest
|
||||
release-notes: "New Release"
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue