[FIX] Move object command collisions issue because of ignore if impos… #90
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Contents Nightly | |
on: | |
push: | |
branches: | |
- develop | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
persist-credentials: false | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: 14 | |
- name: Setup enviroment | |
run: mkdir -p ./Content/Datas/Scripts/ | |
- name: Setup Git & Pull changes | |
working-directory: ./Content/Datas/Scripts/ | |
run: | | |
git clone "https://Wano-k:${{ secrets.GIT_TOKEN }}@github.com/RPG-Paper-Maker/Game-Scripts-Build.git" ./ | |
git config --local user.name "PaperMaker-Bot" | |
git config --local user.email "[email protected]" | |
git checkout develop | |
- name: Build from source | |
run: | | |
npm install | |
npm install typescript | |
npm run build | |
- name: Commit changes | |
working-directory: ./Content/Datas/Scripts/ | |
continue-on-error: true | |
run: | | |
git add . | |
git commit -m "Nightly - ${{ github.repository }}@${{ github.sha }}" | |
- name: Push changes | |
working-directory: ./Content/Datas/Scripts/ | |
run: git push origin develop | |
- name: Upload artifacts | |
uses: actions/upload-artifact@v2 | |
with: | |
name: Scripts | |
path: ./Content/Datas/Scripts/ | |