@@ -54,18 +54,24 @@ jobs:
54
54
echo "GIT_TAG=${GIT_TAG}" >> $GITHUB_OUTPUT
55
55
56
56
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
57
62
58
63
- name : Docker build project
59
64
id : docker
60
- uses : ./docker/build-project
65
+ uses : ./v-sekai-game/ docker/build-project
61
66
with :
62
67
repo : ${{ github.repository }}
63
68
nightly : ${{ steps.setenv.outputs.PRERELEASE }}
69
+ default_export : true
64
70
65
71
- name : Upload Build Artifacts
66
72
uses : actions/upload-artifact@v4
67
73
with :
68
- name : xr-grid
74
+ name : v-sekai-release
69
75
path : ${{ github.workspace }}/releases
70
76
71
77
- name : Set tag name
@@ -94,20 +100,20 @@ jobs:
94
100
uses : actions/create-release@v1
95
101
with :
96
102
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
98
104
draft : false
99
105
prerelease : ${{ needs.build.outputs.PRERELEASE }}
100
106
101
107
- name : Download Artifacts
102
108
uses : actions/download-artifact@v4
103
109
with :
104
- path : xr-grid
105
- name : xr-grid
110
+ path : v-sekai-release
111
+ name : v-sekai-release
106
112
107
113
- name : Upload Release Asset
108
114
run : |
109
115
echo "Release Tag: ${{ needs.build.outputs.TAG_NAME }}."
110
- cd xr-grid
116
+ cd v-sekai-release
111
117
echo "Uploading to ${{ steps.create_release.outputs.upload_url }}"
112
118
for file in *; do \
113
119
echo "Uploading $file..."; \
@@ -127,22 +133,21 @@ jobs:
127
133
# Publish only on v-sekai-game tag update
128
134
if : needs.build.outputs.ITCH_IO_PUBLISH == 'true' && needs.build.outputs.TAG_PUSH == 'true'
129
135
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
135
140
136
141
- name : Download Artifacts
137
142
uses : actions/download-artifact@v4
138
143
with :
139
- path : ${{ github.workspace }}/xr-grid
140
- name : xr-grid
144
+ path : ${{ github.workspace }}/v-sekai-release
145
+ name : v-sekai-release
141
146
142
147
- name : Docker Itch.io Publish
143
- uses : ./docker/itch-io
148
+ uses : ./v-sekai-game/ docker/itch-io
144
149
with :
145
150
api_key : ${{ secrets.ITCH_IO_API_KEY }}
146
- filepath : xr-grid
151
+ filepath : v-sekai-release
147
152
itchio_project : projectname
148
- release_version : ${{ needs.build.outputs.GIT_TAG }}
153
+ release_version : ${{ needs.build.outputs.GIT_TAG }}
0 commit comments