Giter VIP home page Giter VIP logo

Comments (8)

cheolgyu avatar cheolgyu commented on August 21, 2024 1

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.

devdailytester avatar devdailytester commented on August 21, 2024

+1,i also want to get the output binary
seems related to #44

from cargo.

eggbean avatar eggbean commented on August 21, 2024

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.

devdailytester avatar devdailytester commented on August 21, 2024

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.

eggbean avatar eggbean commented on August 21, 2024

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.

devdailytester avatar devdailytester commented on August 21, 2024

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.

eggbean avatar eggbean commented on August 21, 2024

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.

devdailytester avatar devdailytester commented on August 21, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.