ci: use new woodpecker YAML schema
Some checks failed
ci/woodpecker/manual/woodpecker Pipeline failed
Some checks failed
ci/woodpecker/manual/woodpecker Pipeline failed
This commit is contained in:
@ -1,13 +1,8 @@
|
|||||||
clone:
|
|
||||||
git:
|
|
||||||
image: woodpeckerci/plugin-git:latest
|
|
||||||
settings:
|
|
||||||
path: MagicStorageVoidBag
|
|
||||||
when:
|
when:
|
||||||
event: tag
|
- event: [push, tag, manual]
|
||||||
|
|
||||||
pipeline:
|
steps:
|
||||||
fetch-deps:
|
- name: fetch-deps
|
||||||
image: jackbondpreston/msvb-build-env
|
image: jackbondpreston/msvb-build-env
|
||||||
commands:
|
commands:
|
||||||
- steamcmd "+login anonymous" "+workshop_download_item 1281930 2563309347" "+quit"
|
- steamcmd "+login anonymous" "+workshop_download_item 1281930 2563309347" "+quit"
|
||||||
@ -29,10 +24,8 @@ pipeline:
|
|||||||
cp /root/.steam/SteamApps/workshop/content/1281930/2563309347/$YEAR.$VER/MagicStorage.tmod ./
|
cp /root/.steam/SteamApps/workshop/content/1281930/2563309347/$YEAR.$VER/MagicStorage.tmod ./
|
||||||
- dotnet TMLPatcher/TML.Patcher.dll extract MagicStorage.tmod
|
- dotnet TMLPatcher/TML.Patcher.dll extract MagicStorage.tmod
|
||||||
- cp MagicStorage/MagicStorage.dll $CI_WORKSPACE/
|
- cp MagicStorage/MagicStorage.dll $CI_WORKSPACE/
|
||||||
when:
|
|
||||||
event: tag
|
|
||||||
|
|
||||||
build:
|
- name: build
|
||||||
image: jackbondpreston/msvb-build-env
|
image: jackbondpreston/msvb-build-env
|
||||||
commands:
|
commands:
|
||||||
- |
|
- |
|
||||||
@ -49,16 +42,13 @@ pipeline:
|
|||||||
- cp ~/.local/share/Terraria/tModLoader/Mods/MagicStorageVoidBag.tmod release/
|
- cp ~/.local/share/Terraria/tModLoader/Mods/MagicStorageVoidBag.tmod release/
|
||||||
- cp MagicStorageVoidBag/MagicStorageVoidBag.dll release/
|
- cp MagicStorageVoidBag/MagicStorageVoidBag.dll release/
|
||||||
- ls release
|
- ls release
|
||||||
|
|
||||||
|
- name: gitea-release
|
||||||
when:
|
when:
|
||||||
event: tag
|
event: tag
|
||||||
|
|
||||||
gitea-release:
|
|
||||||
image: plugins/gitea-release
|
image: plugins/gitea-release
|
||||||
settings:
|
settings:
|
||||||
api_key:
|
api_key:
|
||||||
from_secret: gitea-api-key
|
from_secret: gitea-api-key
|
||||||
base_url: https://git.jackbondpreston.me
|
base_url: https://git.jackbondpreston.me
|
||||||
files: release/*
|
files: release/*
|
||||||
when:
|
|
||||||
event: tag
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user