Readme: Fix link to GA artifacts #37
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build release binaries | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
workflow_dispatch: | |
schedule: | |
- cron: '46 5 7 * *' # At 05:46 on day-of-month 1 in every 3rd month from January through December | |
jobs: | |
build-rust: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
rust_target: [x86_64-unknown-linux-gnu, x86_64-unknown-linux-musl, x86_64-pc-windows-gnu, aarch64-unknown-linux-gnu, riscv64gc-unknown-linux-gnu] | |
os: [ubuntu-latest] | |
include: | |
- rust_target: x86_64-apple-darwin | |
os: macos-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- run: find .github | |
shell: bash | |
- uses: ./.github/setupandbuild | |
with: | |
rust_target: ${{ matrix.rust_target }} | |
- name: Strip binary | |
if: matrix.rust_target == 'x86_64-unknown-linux-musl' | |
run: | | |
strip output_dir/pg2parquet | |
- name: Upload artifact | |
uses: actions/upload-artifact@v3 | |
with: | |
name: release-${{ matrix.rust_target }} | |
path: output_dir/pg2parquet${{ matrix.rust_target == 'x86_64-pc-windows-gnu' && '.exe' || '' }} |