[ci skip] ci: cd upm before git diff

This commit is contained in:
Oliver Booth 2023-04-02 17:28:58 +01:00
parent 6fd7f8d84c
commit a093e91502
No known key found for this signature in database
GPG Key ID: 20BEB9DC87961025
3 changed files with 9 additions and 6 deletions

View File

@ -60,14 +60,15 @@ jobs:
cp package.json upm/package.json
- name: Check for changes
run: git diff --quiet
run: |
cd upm
git diff --quiet
shell: bash
continue-on-error: true
- name: Commit update
if: ${{ success() }}
run: |
cd upm
cp ../X10D/bin/Debug/netstandard2.1/X10D.dll ./X10D.dll
cp ../X10D/bin/Debug/netstandard2.1/X10D.xml ./X10D.xml
cp ../X10D.Unity/bin/Debug/netstandard2.1/X10D.Unity.dll ./X10D.Unity.dll

View File

@ -66,14 +66,15 @@ jobs:
cp package.json upm/package.json
- name: Check for changes
run: git diff --quiet
run: |
cd upm
git diff --quiet
shell: bash
continue-on-error: true
- name: Commit update
if: ${{ success() }}
run: |
cd upm
cp ../X10D/bin/Release/netstandard2.1/X10D.dll ./X10D.dll
cp ../X10D/bin/Release/netstandard2.1/X10D.xml ./X10D.xml
cp ../X10D.Unity/bin/Release/netstandard2.1/X10D.Unity.dll ./X10D.Unity.dll

View File

@ -66,14 +66,15 @@ jobs:
cp package.json upm/package.json
- name: Check for changes
run: git diff --quiet
run: |
cd upm
git diff --quiet
shell: bash
continue-on-error: true
- name: Commit update
if: ${{ success() }}
run: |
cd upm
cp ../X10D/bin/Release/netstandard2.1/X10D.dll ./X10D.dll
cp ../X10D/bin/Release/netstandard2.1/X10D.xml ./X10D.xml
cp ../X10D.Unity/bin/Release/netstandard2.1/X10D.Unity.dll ./X10D.Unity.dll