diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 463c095..20fcd55 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -22,3 +22,29 @@ jobs: branch: main # (Required) GitHub token for creating GitHub Releases. token: ${{ secrets.GITHUB_TOKEN }} + + upload-assets: + strategy: + matrix: + os: + - ubuntu-latest + - macos-latest + - windows-latest + runs-on: ${{ matrix.os }} + steps: + - uses: actions/checkout@v3 + - uses: taiki-e/upload-rust-binary-action@v1 + with: + # (required) Comma-separated list of binary names (non-extension portion of filename) to build and upload. + # Note that glob pattern is not supported yet. + bin: pq + # (optional) On which platform to distribute the `.tar.gz` file. + # [default value: unix] + # [possible values: all, unix, windows, none] + tar: unix + # (optional) On which platform to distribute the `.zip` file. + # [default value: windows] + # [possible values: all, unix, windows, none] + zip: windows + # (required) GitHub token for uploading assets to GitHub Releases. + token: ${{ secrets.GITHUB_TOKEN }} diff --git a/Cargo.lock b/Cargo.lock index a64e220..bc95671 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2377,7 +2377,7 @@ checksum = "eb9f9e6e233e5c4a35559a617bf40a4ec447db2e84c20b55a6f83167b7e57872" [[package]] name = "pq" -version = "0.0.1" +version = "0.0.2" dependencies = [ "anyhow", "arrow 23.0.0", diff --git a/Cargo.toml b/Cargo.toml index affbbb1..79fab8e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,7 +2,7 @@ description = "pq: query and transform data with PRQL" name = "pq" edition = "2021" -version = "0.0.1" +version = "0.0.2" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html