Skip to content

Commit

Permalink
0.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jackh726 committed Feb 1, 2024
1 parent 8e5333e commit 116ad13
Show file tree
Hide file tree
Showing 6 changed files with 37 additions and 1,205 deletions.
44 changes: 28 additions & 16 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
target: x86_64-unknown-linux-gnu
asset_name: bigtools-linux-gnu
remote: true
- os: windows-msvc-latest
- os: windows-latest
target: x86_64-pc-windows-msvc
asset_name: bigtools-windows-msvc
remote: true
Expand All @@ -42,27 +42,39 @@ jobs:
- name: Build project
run: |
rustup target add ${{ matrix.target }}
cargo build --release --locked --target ${{ matrix.target }} --no-default-features ${{ matrix.remote && '--features remote' || '' }}
cargo build -p bigtools --release --locked --no-default-features --features cli ${{ matrix.remote && '--features remote' || '' }} --target ${{ matrix.target }}
- name: Zip build artifacts
uses: papeloto/action-zip@v1
with:
files: |
target/release/bedgraphtobigwig;
target/release/bedtobigbed;
target/release/bigbedinfo;
target/release/bigbedtobed;
target/release/bigtools;
target/release/bigwigaverageoverbed;
target/release/bigwiginfo;
target/release/bigwigmerge;
target/release/bigwigtobedgraph;
target/release/bigwigvaluesoverbed
dest: ${{ matrix.asset_name }}.zip
run: >
zip ${{ matrix.asset_name }}.zip
target/release/bedgraphtobigwig
target/release/bedtobigbed
target/release/bigbedinfo
target/release/bigbedtobed
target/release/bigtools
target/release/bigwigaverageoverbed
target/release/bigwiginfo
target/release/bigwigmerge
target/release/bigwigtobedgraph
target/release/bigwigvaluesoverbed
- name: Zip upload
uses: shogo82148/actions-upload-release-asset@v1
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: ${{ github.workspace }}/${{ matrix.asset_name }}.zip

publish:
if: startsWith(github.ref, 'refs/tags/v')
name: Publish
runs-on: ubuntu-latest
needs: release
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Rust toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- name: Cargo publish
uses: katyo/publish-crates@v2
with:
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 116ad13

Please sign in to comment.