diff --git a/.github/workflows/publish-tauri.yml b/.github/workflows/publish-tauri.yml index dab6e78f2..fd9ca7cdb 100644 --- a/.github/workflows/publish-tauri.yml +++ b/.github/workflows/publish-tauri.yml @@ -1,8 +1,8 @@ -name: Release +name: Publish Tauri on: push: tags: - - 'v*' + - "v*" workflow_dispatch: jobs: @@ -27,13 +27,13 @@ jobs: - name: install Rust stable uses: dtolnay/rust-toolchain@stable - + - name: install dependencies (ubuntu only) if: matrix.platform == 'ubuntu-20.04' run: | sudo apt-get update sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.0-dev libayatana-appindicator3-dev librsvg2-dev - + - name: install frontend dependencies run: yarn install # change this to npm or pnpm depending on which one you use working-directory: ${{env.working-directory}} @@ -47,4 +47,4 @@ jobs: releaseBody: "See the assets to download this version and install." releaseDraft: true prerelease: false - projectPath: ${{env.working-directory}} \ No newline at end of file + projectPath: ${{env.working-directory}} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index cc5bc4ffb..a7ed5eaf9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,4 +1,4 @@ -name: Release-plz +name: Release permissions: pull-requests: write @@ -21,7 +21,8 @@ jobs: - name: Install Rust toolchain uses: dtolnay/rust-toolchain@stable - name: Run release-plz - uses: MarcoIeni/release-plz-action@v0.5 + # See https://github.com/MarcoIeni/release-plz/issues/1360#issuecomment-2016863525 + uses: MarcoIeni/release-plz-action@v0.5.44 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }} diff --git a/.github/workflows/test-on-pr-desktop.yml b/.github/workflows/test-on-pr-desktop.yml index 58202cda5..d01f5d928 100644 --- a/.github/workflows/test-on-pr-desktop.yml +++ b/.github/workflows/test-on-pr-desktop.yml @@ -1,4 +1,4 @@ -name: "Test on PR for Desktop" +name: Test Tauri on: [pull_request] diff --git a/.github/workflows/test-on-pr.yml b/.github/workflows/test-on-pr.yml index 56e619c4f..7708cd36c 100644 --- a/.github/workflows/test-on-pr.yml +++ b/.github/workflows/test-on-pr.yml @@ -1,4 +1,4 @@ -name: "Test on PR with Earthly" +name: Test with Earthly on: [pull_request] env: diff --git a/Cargo.toml b/Cargo.toml index f73c88c9c..73b198d21 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,3 +2,8 @@ resolver = "2" members = ["crates/*", "terraphim_server", "desktop/src-tauri"] default-members = ["terraphim_server"] + +# CI build creates artifacts that are not part of the repo +# Allow to publish with release-plz even if there are uncommitted changes +# See https://github.com/MarcoIeni/release-plz/issues/1360 +allow_dirty = true