Skip to content

Commit

Permalink
fix sed command in macOS action build
Browse files Browse the repository at this point in the history
  • Loading branch information
dylanbeattie committed Dec 10, 2024
1 parent e926c15 commit 8f46fac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-macos-binary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
with:
dotnet-version: '9.x'
- name: Patch VERSION constant inside Starship/Rockstar.Engine/RockstarEnvironment.cs
run: sed -i 's/VERSION = "[^"]*";/VERSION = "${{ inputs.rockstar_version }}";/g' Starship/Rockstar.Engine/RockstarEnvironment.cs
run: sed -i "" 's/VERSION = "[^"]*";/VERSION = "${{ inputs.rockstar_version }}";/g' Starship/Rockstar.Engine/RockstarEnvironment.cs
- name: dotnet publish macos x64 binary
run: dotnet publish Starship/Rockstar -o rockstar-macos-x64-binary -r osx-x64 -c Release
- name: dotnet publish macos ARM64 binary
Expand Down

0 comments on commit 8f46fac

Please sign in to comment.