Skip to content
This repository was archived by the owner on Jan 19, 2025. It is now read-only.

see offline and set it to public #1

see offline and set it to public

see offline and set it to public #1

name: see offline and set it to public
on:
workflow_run:
workflows: ["validate maxplayers after the workflow finishes holy fuck why"]
types:
- completed
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v2
- name: Find and Replace
uses: jacobtomlinson/gha-find-replace@v3
with:
find: "<OnlineMode>OFFLINE</OnlineMode>"
replace: "<OnlineMode>PUBLIC</OnlineMode>"
include: "**.sbc"
regex: true
- name: Push changes
uses: stefanzweifel/git-auto-commit-action@v4