Skip to content

Commit

Permalink
fix: move to new briefingName overwrite (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
ArwynFr committed Sep 7, 2022
1 parent 0f9b01b commit c179884
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,10 @@ jobs:
pattern: $(Convert-Path *.pbo)
whatif: '$true'

- name: Update briefing name
shell: pwsh
run: >
$(Get-Content ./CONT_Scorpion.Altis/mission.sqm) -Replace (
'briefingName="[^"]*";',
'briefingName="Scorpion ${{ steps.new-version.outputs.next-version }}";'
) | Set-Content -LiteralPath ./CONT_Scorpion.Altis/mission.sqm
- name: Make mission pbo
uses: team-gsri/actions-build-mission@0.0.1
uses: team-gsri/actions-build-mission@0.1.1
with:
briefingName: 'Scorpion ${{ steps.new-version.outputs.next-version }}'
source: ./CONT_Scorpion.Altis
target: ./

Expand Down

0 comments on commit c179884

Please sign in to comment.