Skip to content
This repository was archived by the owner on Nov 19, 2023. It is now read-only.

Commit a3eee1a

Browse files
Tobias BrandtTobias Brandt
authored andcommitted
Adds Github Action steps to build rust binaries
1 parent 5cdf388 commit a3eee1a

File tree

3 files changed

+28
-2
lines changed

3 files changed

+28
-2
lines changed

.github/workflows/release.yaml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,29 @@ jobs:
2222
branch: main
2323
# (Required) GitHub token for creating GitHub Releases.
2424
token: ${{ secrets.GITHUB_TOKEN }}
25+
26+
upload-assets:
27+
strategy:
28+
matrix:
29+
os:
30+
- ubuntu-latest
31+
- macos-latest
32+
- windows-latest
33+
runs-on: ${{ matrix.os }}
34+
steps:
35+
- uses: actions/checkout@v3
36+
- uses: taiki-e/upload-rust-binary-action@v1
37+
with:
38+
# (required) Comma-separated list of binary names (non-extension portion of filename) to build and upload.
39+
# Note that glob pattern is not supported yet.
40+
bin: pq
41+
# (optional) On which platform to distribute the `.tar.gz` file.
42+
# [default value: unix]
43+
# [possible values: all, unix, windows, none]
44+
tar: unix
45+
# (optional) On which platform to distribute the `.zip` file.
46+
# [default value: windows]
47+
# [possible values: all, unix, windows, none]
48+
zip: windows
49+
# (required) GitHub token for uploading assets to GitHub Releases.
50+
token: ${{ secrets.GITHUB_TOKEN }}

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
description = "pq: query and transform data with PRQL"
33
name = "pq"
44
edition = "2021"
5-
version = "0.0.1"
5+
version = "0.0.2"
66

77
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
88

0 commit comments

Comments
 (0)