@@ -54,18 +54,24 @@ jobs:
5454 echo "GIT_TAG=${GIT_TAG}" >> $GITHUB_OUTPUT
5555
5656 echo "ITCH_IO_PUBLISH=${{ env.ITCH_IO_PUBLISH }}" >> $GITHUB_OUTPUT
57+
58+ - name : Fetch docker action
59+ id : fetch-action
60+ run : |
61+ git clone https://github.com/V-Sekai/v-sekai-game.git
5762
5863 - name : Docker build project
5964 id : docker
60- uses : ./docker/build-project
65+ uses : ./v-sekai-game/ docker/build-project
6166 with :
6267 repo : ${{ github.repository }}
6368 nightly : ${{ steps.setenv.outputs.PRERELEASE }}
69+ default_export : true
6470
6571 - name : Upload Build Artifacts
6672 uses : actions/upload-artifact@v4
6773 with :
68- name : xr-grid
74+ name : v-sekai-release
6975 path : ${{ github.workspace }}/releases
7076
7177 - name : Set tag name
@@ -94,20 +100,20 @@ jobs:
94100 uses : actions/create-release@v1
95101 with :
96102 tag_name : ${{ needs.build.outputs.TAG_NAME }}
97- release_name : ${{ needs.build.outputs.TAG_NAME }} V-Sekai Game Release
103+ release_name : ${{ needs.build.outputs.TAG_NAME }} V-Sekai Model Explorer Release
98104 draft : false
99105 prerelease : ${{ needs.build.outputs.PRERELEASE }}
100106
101107 - name : Download Artifacts
102108 uses : actions/download-artifact@v4
103109 with :
104- path : xr-grid
105- name : xr-grid
110+ path : v-sekai-release
111+ name : v-sekai-release
106112
107113 - name : Upload Release Asset
108114 run : |
109115 echo "Release Tag: ${{ needs.build.outputs.TAG_NAME }}."
110- cd xr-grid
116+ cd v-sekai-release
111117 echo "Uploading to ${{ steps.create_release.outputs.upload_url }}"
112118 for file in *; do \
113119 echo "Uploading $file..."; \
@@ -127,22 +133,21 @@ jobs:
127133 # Publish only on v-sekai-game tag update
128134 if : needs.build.outputs.ITCH_IO_PUBLISH == 'true' && needs.build.outputs.TAG_PUSH == 'true'
129135 steps :
130- - name : Checkout
131- uses : actions/checkout@v4
132- with :
133- sparse-checkout : |
134- ./docker/itch-io/
136+ - name : Fetch docker itch action
137+ id : fetch-itch-action
138+ run : |
139+ git clone https://github.com/V-Sekai/v-sekai-game.git
135140
136141 - name : Download Artifacts
137142 uses : actions/download-artifact@v4
138143 with :
139- path : ${{ github.workspace }}/xr-grid
140- name : xr-grid
144+ path : ${{ github.workspace }}/v-sekai-release
145+ name : v-sekai-release
141146
142147 - name : Docker Itch.io Publish
143- uses : ./docker/itch-io
148+ uses : ./v-sekai-game/ docker/itch-io
144149 with :
145150 api_key : ${{ secrets.ITCH_IO_API_KEY }}
146- filepath : xr-grid
151+ filepath : v-sekai-release
147152 itchio_project : projectname
148- release_version : ${{ needs.build.outputs.GIT_TAG }}
153+ release_version : ${{ needs.build.outputs.GIT_TAG }}
0 commit comments