This commit is contained in:
21
.gitea/workflows/modlist.yaml
Normal file
21
.gitea/workflows/modlist.yaml
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
name: "Modlist update"
|
||||||
|
on: push
|
||||||
|
jobs:
|
||||||
|
update:
|
||||||
|
runs-on: wind
|
||||||
|
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/## List of Mods.*/## List of Mods/' README.md
|
||||||
|
cat README.md
|
||||||
Reference in New Issue
Block a user