Comments (8)
https://doc.rust-lang.org/cargo/commands/cargo-build.html#output-options
- uses: actions-rs/cargo@v1
with:
command: build
args: --release --verbose --package batch --bin kr_timer --target-dir ./build
- name: tar
run: tar cvf kr_timer.tar.gz ./build/release/kr_timer* ./.env.prod
from cargo.
+1,i also want to get the output binary
seems related to #44
from cargo.
Could you tell me if you figure it out? I have had this project on hold for a month now, as I still cannot find it.
from cargo.
i know where is the build artifact but i dont know how to move to release or do stuff with it.looking at other actions
from cargo.
You know where it is? What is the location? I can't understand why you can't upload it if you know where it is.
from cargo.
i dont know how to upload i tried use other,release action.
The location is like release\build
just like common cargo build.you can try build locally and get the full view its the same,
from cargo.
I don't know what you mean by release\build
. Why is there a backslash? Is that the full path? I cannot find that directory.
If you know where the build artefacts are you can upload them using actions/upload-artifact@v2
.
from cargo.
that is of course not the full path lol.
you can try compile in your local machine and see the directory,each platform has its own tweakrs(different output path).
thanks will try out that upload action.
from cargo.
Related Issues (20)
- Paths with `..` in Rust code are interpreted as a directory called `..` and not as the parent directory
- cross should be built on ubuntu 18.04 (fails with `version `GLIBC_2.29' not found`) HOT 1
- Capture of stdout / stderr
- GITHUB_TOKEN permissions used by this action
- Warning with rustfmt and cargo-fmt
- Action in actions-rs for cargo-mutants?
- [Feature request] Add action typings
- How to save output of cargo command? HOT 2
- error: no such subcommand: `release patch` HOT 1
- Node.js 12 actions are deprecated. Please use Node.js 16 HOT 5
- Job failing on trying to `cargo install` already existing crate HOT 1
- Installing rust toolchain 1.65 installs 1.64 HOT 1
- question how can i make the action do a recursive cargo build?
- Please update action.yml to use Node16 HOT 3
- Set env variables
- Unable to compile with openssl for aarch64-unknown-linux-gnu HOT 5
- Cache compilation of cross binary
- Include macro not finding a file
- need help
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cargo.