This commit is contained in:
neuecc 2021-09-03 18:39:16 +09:00
parent 2a6c15ec94
commit 1f15edcfd1

View File

@ -20,7 +20,7 @@ jobs:
update-packagejson: update-packagejson:
runs-on: ubuntu-latest runs-on: ubuntu-latest
env: env:
TARGET_FILE: ./src/ObservableCollections/Assets/Plugins/ObservableCollections/package.json TARGET_FILE: ./src/ObservableCollections.Unity/Assets/Plugins/ObservableCollections/package.json
outputs: outputs:
sha: ${{ steps.commit.outputs.sha }} sha: ${{ steps.commit.outputs.sha }}
steps: steps:
@ -122,7 +122,7 @@ jobs:
env: env:
UNITY_LICENSE: ${{ secrets[matrix.license] }} UNITY_LICENSE: ${{ secrets[matrix.license] }}
with: with:
projectPath: src/ObservableCollections projectPath: src/ObservableCollections.Unity
unityVersion: ${{ matrix.unity }} unityVersion: ${{ matrix.unity }}
targetPlatform: StandaloneLinux64 targetPlatform: StandaloneLinux64
buildMethod: PackageExporter.Export buildMethod: PackageExporter.Export
@ -136,13 +136,13 @@ jobs:
else else
echo "Great, all .meta files are commited." echo "Great, all .meta files are commited."
fi fi
working-directory: src/ObservableCollections working-directory: src/ObservableCollections.Unity
# Store artifacts. # Store artifacts.
- uses: actions/upload-artifact@v2 - uses: actions/upload-artifact@v2
with: with:
name: ObservableCollections.${{ env.GIT_TAG }}.unitypackage name: ObservableCollections.${{ env.GIT_TAG }}.unitypackage
path: ./src/ObservableCollections/ObservableCollections.${{ env.GIT_TAG }}.unitypackage path: ./src/ObservableCollections.Unity/ObservableCollections.${{ env.GIT_TAG }}.unitypackage
create-release: create-release:
if: github.event.inputs.dry_run == 'false' if: github.event.inputs.dry_run == 'false'