File tree 1 file changed +12
-1
lines changed
1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -147,7 +147,8 @@ jobs:
147
147
token : ${{ secrets.RELEASE_TOKEN }}
148
148
repository : HDR-Development/romfs-release
149
149
150
- - name : Download romfs
150
+ - name : Download romfs with chosen version
151
+ if : ${{ contains(github.event.inputs.romfs_version, 'latest') != true }}
151
152
id : get_romfs_not_latest
152
153
uses : dsaltares/fetch-gh-release-asset@master
153
154
with :
@@ -156,6 +157,16 @@ jobs:
156
157
file : ' romfs.zip'
157
158
token : ${{ secrets.RELEASE_TOKEN }}
158
159
160
+ - name : Download romfs with latest
161
+ if : ${{ contains(github.event.inputs.romfs_version, 'latest') }}
162
+ id : get_romfs_latest
163
+ uses : dsaltares/fetch-gh-release-asset@master
164
+ with :
165
+ repo : ' HDR-Development/romfs-release'
166
+ version : ' ${{ github.event.inputs.romfs_version }}'
167
+ file : ' romfs.zip'
168
+ token : ${{ secrets.RELEASE_TOKEN }}
169
+
159
170
# make package depending on version chosen
160
171
- name : make package with chosen version
161
172
if : ${{ contains(github.event.inputs.romfs_version, 'latest') != true }}
You can’t perform that action at this time.
0 commit comments