question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ability to specify a target

See original GitHub issue
      - name: install app dependencies and build it
        run: yarn && yarn build
      - uses: tauri-apps/tauri-action@dev
        with:
          tauriScript: yarn tauri build --target ${{ matrix.target }}

produces this


Run tauri-apps/tauri-action@dev
running yarn [ 'tauri', 'build', '--target', 'i686-pc-windows-msvc', 'build' ]
error: Found argument 'build' which wasn't expected, or isn't valid in this context

this feature is needed for building for 32 windows (surprisingly large user base)

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:7 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
FabianLarscommented, Jul 10, 2022

@goenning use args (undocumented) instead of tauriScript

with:
  args: --target ${{ matrix.target }}
1reaction
FabianLarscommented, Jul 28, 2022

At this point i’m not so sure anymore either haha. In theory it’s supposed to do what’s described in Caveats:

You can run custom Tauri CLI scripts with the tauriScript option. So instead of running yarn tauri build or npx tauri build, we’ll execute ${tauriScript}. Useful when you need custom build functionality when creating Tauri apps e.g. a desktop:build script.

But i think we’re at a point where we may have to rethink the whole action before trying to fix this.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Target - MTG Wiki - Fandom
A target is a recipient of the effects of a spell or ability chosen by its controller. A spell can require a player...
Read more >
Step 1.1 Select the target behavior or skill
The next step is to determine if the target skill or behavior is a discrete or chained skill. A discrete task or skill...
Read more >
When do I declare a target for a triggered ability with a cost?
When it triggers, it goes on the stack and you must choose a target, BUT you don't have to pay the cost. When...
Read more >
Targets and Extension-Points - Apache Ant
A target is a container of tasks and datatypes that cooperate to reach a desired state during the build process. Targets can depend...
Read more >
ability to specify target CPU features · Issue #2883 · ziglang/zig
ability to specify target CPU features #2883. Closed. 5 tasks. andrewrk opened this issue on Jul 13, 2019 · 16 comments.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found