Skip to content

Added missions of Core/SpawnStatic #58

Added missions of Core/SpawnStatic

Added missions of Core/SpawnStatic #58

# This workflow updates the Moose.lua file in all miz files.
name: Extract Missions Scripts
# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events for the "main" and "develop" branches
push:
branches:
- master
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
inputs:
name:
description: 'Manual Run'
required: false
default: 'The Octoverse'
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "Update"
ExtractMissionScripts:
# Operating system
runs-on: ubuntu-latest
# Set environment variable (not used)
env:
BRANCH: master
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Say Mission branch name
- name: Mission branch
run: echo ${GITHUB_REF_NAME}
# Checks-out repository to ./self
- name: Checkout Missions
uses: actions/checkout@v4
with:
path: ./self
# Install python
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.10' # install the python version needed
# Run python script to update Moose.lua in all miz files
- name: Run UpdateMoose.py
run: |
cd ./self/.scripts
python ./UpdateMoose.py
# Commit changes
- name: Commit Changes
run: |
cd ./self
git config --global core.autocrlf input
git add *
git config --global user.name 'funkyfranky'
git config --global user.email 'frank@inter-zone.de'
git commit -am "ExtractMissionScripts" || echo "No changes to commit"
git push