2023-11-17 15:45:49 +00:00
|
|
|
name: release
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
2023-11-17 15:47:01 +00:00
|
|
|
branches:
|
2023-11-17 15:45:49 +00:00
|
|
|
- "master"
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
release:
|
2023-11-17 15:47:47 +00:00
|
|
|
runs-on: ubuntu-22.04
|
2023-11-17 15:45:49 +00:00
|
|
|
steps:
|
2023-11-17 15:47:47 +00:00
|
|
|
- uses: actions/checkout@v3
|
|
|
|
with:
|
|
|
|
fetch-depth: 0
|
|
|
|
- name: setup go
|
|
|
|
uses: https://github.com/actions/setup-go@v4
|
|
|
|
with:
|
|
|
|
go-version: ">=1.20.1"
|
2023-11-17 15:45:49 +00:00
|
|
|
- name: Release Modpack
|
|
|
|
uses: https://gitea.com/actions/release-action@main
|
|
|
|
with:
|
|
|
|
files: |-
|
|
|
|
instance.cfg
|
|
|
|
mmc-pack.json
|
|
|
|
.minecraft/mods
|
|
|
|
api_key: "${{secrets.RELEASE_TOKEN}}"
|