Update pack-zgm-pbo-files.yaml
This commit is contained in:
@@ -15,7 +15,7 @@ jobs:
|
||||
fetch-depth: 0
|
||||
ref: 'main'
|
||||
token: ${{ secrets.RELEASE_TOKEN }}
|
||||
path: template
|
||||
path: missions
|
||||
|
||||
- name: Get mission list
|
||||
run: |
|
||||
@@ -57,7 +57,7 @@ jobs:
|
||||
- name: Pack PBOs
|
||||
run: |
|
||||
$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]
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user