Skip to content

Commit

Permalink
Adjust release tar.gz path to work around permission issues
Browse files Browse the repository at this point in the history
  • Loading branch information
aitorpazos committed Mar 11, 2021
1 parent 7595694 commit ac4d687
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
with:
args: cargo fmt -- --check && cargo clippy -- -Dwarnings && cargo test && cargo build --release
- name: Package release
run: cd target/release && tar -cvf scrypt-rs-amd64.tar.gz scrypt-rs
run: cd target/release && tar -cvf ../../scrypt-rs-amd64.tar.gz scrypt-rs
- name: Create Release
id: create_release
uses: actions/create-release@v1
Expand All @@ -42,6 +42,6 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
asset_path: ./target/release/scrypt-rs-amd64.tar.gz
asset_path: ./scrypt-rs-amd64.tar.gz
asset_name: scrypt-rs-amd64-${{ steps.get_version.outputs.VERSION }}.tar.gz
asset_content_type: application/tar+gzip

0 comments on commit ac4d687

Please sign in to comment.