mirror of
https://github.com/Merith-TK/modpack-template.git
synced 2024-11-26 23:36:21 +00:00
make release
This commit is contained in:
parent
9fdbce68bd
commit
5c155aabdf
1 changed files with 5 additions and 4 deletions
9
.github/workflows/release.yml
vendored
9
.github/workflows/release.yml
vendored
|
@ -1,9 +1,8 @@
|
||||||
name: Release Modpack
|
name: Release Modpack
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
release:
|
||||||
tags:
|
types: [published]
|
||||||
- 'v*'
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
@ -38,9 +37,11 @@ jobs:
|
||||||
- name: Make Modlist
|
- name: Make Modlist
|
||||||
run: make release-file
|
run: make release-file
|
||||||
|
|
||||||
- name: Create Release
|
- name: Upload to Release
|
||||||
uses: ncipollo/release-action@v1
|
uses: ncipollo/release-action@v1
|
||||||
with:
|
with:
|
||||||
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
tag: ${{ github.event.release.tag_name }}
|
||||||
artifacts: ".build/*"
|
artifacts: ".build/*"
|
||||||
allowUpdates: true
|
allowUpdates: true
|
||||||
bodyFile: ".build/CHANGELOG.md"
|
bodyFile: ".build/CHANGELOG.md"
|
||||||
|
|
Loading…
Reference in a new issue