Skip to content

Commit 0d9f6a7

Browse files
authored
Merge pull request #113 from IShix-g/release
feat: simplify build-package workflow with reusable action
2 parents dedcd4f + c647c43 commit 0d9f6a7

File tree

1 file changed

+10
-15
lines changed

1 file changed

+10
-15
lines changed

.github/workflows/build-package-exporter.yaml

Lines changed: 10 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -111,21 +111,16 @@ jobs:
111111

112112
build-package:
113113
needs: update-packagejson
114-
runs-on: ubuntu-22.04
115-
steps:
116-
- name: Checkout code
117-
uses: actions/checkout@v4
118-
119-
- uses: ./.github/workflows/reusable-build-package.yaml
120-
env:
121-
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
122-
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
123-
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
124-
with:
125-
package-name: ${{ env.PACKAGE_NAME }}
126-
tag: ${{ needs.update-package-json.outputs.normalized-tag }}
127-
unity-version: ${{ inputs.unity-version }}
128-
commit-id: ${{ needs.update-package-json.outputs.sha }}
114+
uses: ./.github/workflows/reusable-build-package.yaml
115+
secrets:
116+
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
117+
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
118+
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
119+
with:
120+
package-name: PackageExporter
121+
tag: ${{ needs.update-package-json.outputs.normalized-tag }}
122+
unity-version: ${{ inputs.unity-version }}
123+
commit-id: ${{ needs.update-package-json.outputs.sha }}
129124

130125
merge-and-push:
131126
needs: update-packagejson

0 commit comments

Comments
 (0)