Update pack-zgm-pbo-files.yaml
This commit is contained in:
@@ -15,7 +15,7 @@ jobs:
|
|||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
ref: 'main'
|
ref: 'main'
|
||||||
token: ${{ secrets.RELEASE_TOKEN }}
|
token: ${{ secrets.RELEASE_TOKEN }}
|
||||||
path: template
|
path: missions
|
||||||
|
|
||||||
- name: Get mission list
|
- name: Get mission list
|
||||||
run: |
|
run: |
|
||||||
@@ -57,7 +57,7 @@ jobs:
|
|||||||
- name: Pack PBOs
|
- name: Pack PBOs
|
||||||
run: |
|
run: |
|
||||||
$date = Get-Date -Format "yyyy-MM-dd"
|
$date = Get-Date -Format "yyyy-MM-dd"
|
||||||
foreach ($file in Get-ChildItem missions) {
|
foreach ($file in Get-ChildItem zgm-files) {
|
||||||
$map = (Get-Item zgm-files\missions\$file).Basename.split('\.')[-1]
|
$map = (Get-Item zgm-files\missions\$file).Basename.split('\.')[-1]
|
||||||
Copy-Item zgm-files\missions\$file\mission.sqm template\
|
Copy-Item zgm-files\missions\$file\mission.sqm template\
|
||||||
(Get-Content .\template\mission_settings.hpp).Replace("MISSION AUTHOR","17th Ranger Battalion") | Set-Content .\template\mission_settings.hpp
|
(Get-Content .\template\mission_settings.hpp).Replace("MISSION AUTHOR","17th Ranger Battalion") | Set-Content .\template\mission_settings.hpp
|
||||||
|
|||||||
Reference in New Issue
Block a user