Skip to content

Commit

Permalink
remove sed not working in windows
Browse files Browse the repository at this point in the history
  • Loading branch information
grzuy committed Oct 30, 2023
1 parent cbdf233 commit 25f6ec2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,12 @@ jobs:
- { target: x86_64-apple-darwin , os: macos-12 }
- { target: x86_64-pc-windows-gnu , os: windows-2022 }
- { target: x86_64-unknown-linux-gnu , os: ubuntu-22.04 }
env:
PROJECT_VERSION: "0.1.1"

steps:
- uses: actions/checkout@v4
- run: rustup target add ${{ matrix.job.target }}
- run: echo "PROJECT_VERSION=$(sed -n 's/^ @version "\(.*\)"/\1/p' mix.exs | head -n1)" >> $GITHUB_ENV

- uses: philss/rustler-precompiled-action@main
id: precompile
Expand Down

0 comments on commit 25f6ec2

Please sign in to comment.