Files
server-mods/.gitea/workflows/modlist.yaml
jake 5e59f52e17
Some checks failed
Modlist update / update (push) Failing after 1m1s
more testing
2025-10-18 13:33:29 -04:00

25 lines
573 B
YAML

name: "Modlist update"
on: push
jobs:
update:
runs-on: minecraft
steps:
- name: "grabbing new mods"
uses: actions/checkout@v4
- name: "unzip mods"
shell: bash
id: getfiles
run: |
unzip unzip_me.zip
ls --format=single-column *.jar >> $GITHUB_OUTPUT
- name: "truncate readme"
shell: bash
run: |
sed -i 's/MODS.*/MODS/' README.md
cat README.md
echo "\n" > README.md
echo "${{steps.getfiles.outputs}}" >> README.md
cat README.md