Skip to content

Merge pull request #91 from CoagulateSL/dependabot/maven/org.json-jso… #25

Merge pull request #91 from CoagulateSL/dependabot/maven/org.json-jso…

Merge pull request #91 from CoagulateSL/dependabot/maven/org.json-jso… #25

Workflow file for this run

name: Release
on:
push:
branches:
- master
jobs:
release:
runs-on: ubuntu-latest
permissions:
contents: read
packages: read
steps:
- name: Checkout depender SLCore
uses: actions/checkout@v2
with:
repository: 'CoagulateSL/SLCore'
path: SLCore
token: ${{ secrets.PACKAGE_READ }}
submodules: true
- name: Git Submodule Update
working-directory: SLCore
run: |
git pull --recurse-submodules
git submodule update --remote --recursive
- name: Commit update
working-directory: SLCore
run: |
git config --global user.name 'Git bot'
git config --global user.email 'bot@noreply.github.com'
git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/CoagulateSL/SLCore
git commit -am "Updated JavaCore" && git push || echo "No changes to commit"