Fix reload error when using installer on project that already has vrc… #11
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: 'Deploy' | |
on: | |
push: | |
branches: | |
- main | |
permissions: | |
contents: write | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
environment: prod | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v3 | |
with: | |
path: repo | |
- name: Build installer | |
uses: mikefarah/[email protected] | |
with: | |
cmd: | | |
cd repo/com.vrcfury.installer | |
chmod +x ../.github/workflows/build_unitypackage.sh | |
../.github/workflows/build_unitypackage.sh \ | |
../../VRCFury-installer.unitypackage \ | |
Packages/com.vrcfury.installer | |
- name: set NOW | |
run: | | |
echo "NOW=$(date +'%Y-%m-%dT%H-%M-%S')" >> "$GITHUB_ENV" | |
- name: Release installer | |
uses: softprops/action-gh-release@v1 | |
with: | |
tag_name: ${{ env.NOW }} | |
files: 'VRCFury-installer.unitypackage' |