Skip to content

Commit

Permalink
Merge pull request #374 from bulwark-security/correct-release-path
Browse files Browse the repository at this point in the history
Specify correct target path to binary
  • Loading branch information
sporkmonger committed Jun 27, 2024
2 parents 6fc1419 + 7a74693 commit d8796fd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
uses: clechasseur/rs-cargo@5cd564345ef5b1136392a1dc943b33a3a888b873 # v2.0.2
with:
command: build
args: --release
args: --release --target=x86_64-unknown-linux-gnu

- name: Upload binary as an artifact
uses: actions/upload-artifact@v4
Expand All @@ -51,7 +51,7 @@ jobs:
owner: context.repo.owner,
repo: context.repo.repo,
release_id: process.env.RELEASE_ID,
data: await fs.readFile('./target/release/bulwark-cli')
data: await fs.readFile('./target/x86_64-unknown-linux-gnu/release/bulwark-cli')
});
publish-macos-x86-64-binary:
Expand Down Expand Up @@ -102,7 +102,7 @@ jobs:
owner: context.repo.owner,
repo: context.repo.repo,
release_id: process.env.RELEASE_ID,
data: await fs.readFile('./target/release/bulwark-cli')
data: await fs.readFile('./target/x86_64-apple-darwin/release/bulwark-cli')
});
publish-macos-aarch64-binary:
Expand Down Expand Up @@ -153,5 +153,5 @@ jobs:
owner: context.repo.owner,
repo: context.repo.repo,
release_id: process.env.RELEASE_ID,
data: await fs.readFile('./target/release/bulwark-cli')
data: await fs.readFile('./target/aarch64-apple-darwin/release/bulwark-cli')
});

0 comments on commit d8796fd

Please sign in to comment.