Files
server-mods/.gitea/workflows/modlist.yaml
jake a3c24af614
Some checks failed
Modlist update / update (push) Failing after 1m2s
full test
2025-10-18 14:05:50 -04:00

26 lines
618 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
run: |
unzip unzip_me.zip
- name: "truncate readme"
shell: bash
run: |
sed -i 's/MODS:.*/MODS:/' README.md
cat README.md
echo "$(ls -l *.jar)" >> README.md
cat README.md
git config user.name "${{ vars.WORKFLOW_USERNAME }}"
git add README.md
git commit -m "[AUTO] README update"
git push origin HEAD