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]
|
on: [push]
|
||||||
jobs:
|
jobs:
|
||||||
release:
|
test:
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
@ -8,15 +8,25 @@ jobs:
|
||||||
with:
|
with:
|
||||||
go-version: '1.22'
|
go-version: '1.22'
|
||||||
- run: go build
|
- 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
|
- uses: actions/forgejo-release@eb0fcc44a150c0de82e6fdb36752dd56bf27d017
|
||||||
with:
|
with:
|
||||||
direction: upload
|
direction: upload
|
||||||
url: https://git.soontm.de
|
url: https://git.soontm.de
|
||||||
release-dir: ./
|
release-dir: ./
|
||||||
release-notes: "Latest Release"
|
release-notes: "New Release"
|
||||||
override: true
|
|
||||||
tag: latest
|
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue