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.

Tauri "Uploading the artifacts to a release" failing even though it worked before

See original GitHub issue

Hello, I’ve used this code from this repo:

name: "release"
on:
    pull_request:
        branches:
            - master

env:
  CI: false

jobs:
    create-release:
        runs-on: ubuntu-latest
        outputs:
            RELEASE_UPLOAD_ID: ${{ steps.create_release.outputs.id }}

        steps:
            - uses: actions/checkout@v2
            - name: setup node
              uses: actions/setup-node@v1
              with:
                  node-version: 14
            - name: get version
              run: echo "PACKAGE_VERSION=$(node -p "require('./package.json').version")" >> $GITHUB_ENV
            - name: create release
              id: create_release
              uses: actions/create-release@v1.1.0
              env:
                  GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
              with:
                  tag_name: ${{ env.PACKAGE_VERSION }}
                  release_name: "Remix v${{ env.PACKAGE_VERSION }}"
                  body: CHANGELOG.md
                  draft: false
                  prerelease: false
    build-tauri:
        needs: create-release
        strategy:
            fail-fast: false
            matrix:
                platform: [macos-latest, ubuntu-latest, windows-latest]

        runs-on: ${{ matrix.platform }}
        steps:
            - uses: actions/checkout@v2
            - name: setup node
              uses: actions/setup-node@v1
              with:
                  node-version: 14
            - name: install Rust stable
              uses: actions-rs/toolchain@v1
              with:
                  toolchain: stable
            - name: install tauri bundler
              run: cargo install tauri-bundler --force
            - name: install webkit2gtk libgtk-3-dev libappindicator3-dev (ubuntu only)
              if: matrix.platform == 'ubuntu-latest'
              run: |
                  sudo apt-get update
                  sudo apt-get install -y webkit2gtk-4.0 libgtk-3-dev libappindicator3-dev
            - name: install app dependencies and build it
              run: npm install && npm run build
            - uses: tauri-apps/tauri-action@v0
              env:
                  GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
              with:
                  releaseId: ${{ needs.create-release.outputs.RELEASE_UPLOAD_ID }}

( I have only added CI: false as it was failing otherwise ) & it worked before. But nor sure what happened later, it keeps on showing these errors:

Screenshot (6) Screenshot (7)

I’m not sure if the error is from github action itself or the code.

Thanks

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
FabianLarscommented, Apr 23, 2022

I opened an issue at your repo. tldr: limited ci build minutes in private repos, how did I forget that one…

1reaction
FabianLarscommented, Apr 22, 2022

The code itself doesn’t matter according to your screenshots, since it doesn’t even get to building the tauri app. So only the logs of the workflow runs are interesting, but again, you already showed them. But sure, feel free to add me to your repo, maybe i see something interesting.

Other than that i’ll look into removing this specific example from the readme. And to “fix” your issue you can try letting tauri-action do the release publishing (or search for another action than what our example uses if you need a seperate publishing job)

Read more comments on GitHub >

github_iconTop Results From Across the Web

"No artifacts were found" error #240 - tauri-apps/tauri-action
We just noticed that tauri-apps/tauri-action@v0 action started failing on Windows with this: Expected artifacts paths: D:\a\subspace-desktop\ ...
Read more >
Cross-Platform Compilation
The pipeline can run the compilation for each platform simultaneously making the compilation and release process much easier.
Read more >
Can build code but "Release Pipeline" says no artifact was ...
Before run "No version is available for *** or the latest version has no artifacts to publish. This might fail deployment. Please check...
Read more >
tauri::updater - Rust
The updater is focused on making Tauri's application updates as safe and transparent as updates to a website. Instead of publishing a feed...
Read more >
Create a Release and Upload Artifacts with GitHub Actions
Being able to automate release creation and artifact upload with GitHub Actions allows you to fully leverage continuous and automated delivery.
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