From 2dd65062d148cc446360b30e8af283ff0ba2571e Mon Sep 17 00:00:00 2001 From: Sergio Gasquez Date: Tue, 11 Jun 2024 14:50:06 +0200 Subject: [PATCH 1/5] feat: Update Xtensa Rust version --- .github/workflows/build-aarch64-apple-darwin.yaml | 4 ++-- .github/workflows/build-aarch64-unknown-linux-gnu.yaml | 4 ++-- .github/workflows/build-rust-artifacts.yaml | 4 ++-- .github/workflows/build-rust-src.yaml | 4 ++-- .github/workflows/build-x86_64-apple-darwin.yaml | 4 ++-- .github/workflows/build-x86_64-pc-windows-gnu.yaml | 4 ++-- .github/workflows/build-x86_64-pc-windows-msvc.yaml | 4 ++-- .github/workflows/build-x86_64-unknown-linux-gnu.yaml | 4 ++-- .github/workflows/prepare-release.yaml | 4 ++-- .github/workflows/publish-idf-rust-tags.yml | 2 +- support/rust-build/Repackage-RustRelease.ps1 | 2 +- 11 files changed, 20 insertions(+), 20 deletions(-) diff --git a/.github/workflows/build-aarch64-apple-darwin.yaml b/.github/workflows/build-aarch64-apple-darwin.yaml index f873cdb5..5e7d2409 100644 --- a/.github/workflows/build-aarch64-apple-darwin.yaml +++ b/.github/workflows/build-aarch64-apple-darwin.yaml @@ -6,9 +6,9 @@ on: release_version: description: "Xtensa Rust release version to build" required: true - default: '1.77.0.0' + default: '1.79.0.0' release_tag: - description: "Release tag where artifacts will be stored (e.g. v1.77.0.0, untagged-00000)" + description: "Release tag where artifacts will be stored (e.g. v1.79.0.0, untagged-00000)" required: true default: "untagged-3ecdd54e672f465cad2e" diff --git a/.github/workflows/build-aarch64-unknown-linux-gnu.yaml b/.github/workflows/build-aarch64-unknown-linux-gnu.yaml index 583c5c68..3b5d59f8 100644 --- a/.github/workflows/build-aarch64-unknown-linux-gnu.yaml +++ b/.github/workflows/build-aarch64-unknown-linux-gnu.yaml @@ -6,9 +6,9 @@ on: release_version: description: "Xtensa Rust release version to build" required: true - default: '1.77.0.0' + default: '1.79.0.0' release_tag: - description: "Release tag where artifacts will be stored (e.g. v1.77.0.0, untagged-00000)" + description: "Release tag where artifacts will be stored (e.g. v1.79.0.0, untagged-00000)" required: true default: "untagged-3ecdd54e672f465cad2e" diff --git a/.github/workflows/build-rust-artifacts.yaml b/.github/workflows/build-rust-artifacts.yaml index d25c6b6c..bd827ea2 100644 --- a/.github/workflows/build-rust-artifacts.yaml +++ b/.github/workflows/build-rust-artifacts.yaml @@ -6,9 +6,9 @@ on: release_version: description: "Xtensa Rust release version to build" required: true - default: '1.77.0.0' + default: '1.79.0.0' release_tag: - description: "Release tag where artifacts will be stored (e.g. v1.77.0.0, untagged-00000)" + description: "Release tag where artifacts will be stored (e.g. v1.79.0.0, untagged-00000)" required: true default: "untagged-3ecdd54e672f465cad2e" aarch64-apple-darwin: diff --git a/.github/workflows/build-rust-src.yaml b/.github/workflows/build-rust-src.yaml index 0c210666..2c19cdf5 100644 --- a/.github/workflows/build-rust-src.yaml +++ b/.github/workflows/build-rust-src.yaml @@ -6,9 +6,9 @@ on: release_version: description: "Xtensa Rust release version to build" required: true - default: '1.77.0.0' + default: '1.79.0.0' release_tag: - description: "Release tag where artifacts will be stored (e.g. v1.77.0.0, untagged-00000)" + description: "Release tag where artifacts will be stored (e.g. v1.79.0.0, untagged-00000)" required: true default: "untagged-3ecdd54e672f465cad2e" diff --git a/.github/workflows/build-x86_64-apple-darwin.yaml b/.github/workflows/build-x86_64-apple-darwin.yaml index 7e1f3255..d16b2ee6 100644 --- a/.github/workflows/build-x86_64-apple-darwin.yaml +++ b/.github/workflows/build-x86_64-apple-darwin.yaml @@ -5,9 +5,9 @@ on: release_version: description: "Xtensa Rust release version to build" required: true - default: '1.77.0.0' + default: '1.79.0.0' release_tag: - description: "Release tag where artifacts will be stored (e.g. v1.77.0.0, untagged-00000)" + description: "Release tag where artifacts will be stored (e.g. v1.79.0.0, untagged-00000)" required: true default: "untagged-3ecdd54e672f465cad2e" diff --git a/.github/workflows/build-x86_64-pc-windows-gnu.yaml b/.github/workflows/build-x86_64-pc-windows-gnu.yaml index 667c5764..7e246466 100644 --- a/.github/workflows/build-x86_64-pc-windows-gnu.yaml +++ b/.github/workflows/build-x86_64-pc-windows-gnu.yaml @@ -6,9 +6,9 @@ on: release_version: description: "Xtensa Rust release version to build" required: true - default: '1.77.0.0' + default: '1.79.0.0' release_tag: - description: "Release tag where artifacts will be stored (e.g. v1.77.0.0, untagged-00000)" + description: "Release tag where artifacts will be stored (e.g. v1.79.0.0, untagged-00000)" required: true default: "untagged-3ecdd54e672f465cad2e" diff --git a/.github/workflows/build-x86_64-pc-windows-msvc.yaml b/.github/workflows/build-x86_64-pc-windows-msvc.yaml index 5aadb02b..898f756b 100644 --- a/.github/workflows/build-x86_64-pc-windows-msvc.yaml +++ b/.github/workflows/build-x86_64-pc-windows-msvc.yaml @@ -6,9 +6,9 @@ on: release_version: description: "Xtensa Rust release version to build" required: true - default: '1.77.0.0' + default: '1.79.0.0' release_tag: - description: "Release tag where artifacts will be stored (e.g. v1.77.0.0, untagged-00000)" + description: "Release tag where artifacts will be stored (e.g. v1.79.0.0, untagged-00000)" required: true default: "untagged-3ecdd54e672f465cad2e" diff --git a/.github/workflows/build-x86_64-unknown-linux-gnu.yaml b/.github/workflows/build-x86_64-unknown-linux-gnu.yaml index 2efdd80e..a8a1e987 100644 --- a/.github/workflows/build-x86_64-unknown-linux-gnu.yaml +++ b/.github/workflows/build-x86_64-unknown-linux-gnu.yaml @@ -5,9 +5,9 @@ on: release_version: description: "Xtensa Rust release version to build" required: true - default: "1.77.0.0" + default: "1.79.0.0" release_tag: - description: "Release tag where artifacts will be stored (e.g. v1.77.0.0, untagged-00000)" + description: "Release tag where artifacts will be stored (e.g. v1.79.0.0, untagged-00000)" required: true default: "untagged-3ecdd54e672f465cad2e" diff --git a/.github/workflows/prepare-release.yaml b/.github/workflows/prepare-release.yaml index c8c12c6a..8c78a9e7 100644 --- a/.github/workflows/prepare-release.yaml +++ b/.github/workflows/prepare-release.yaml @@ -6,11 +6,11 @@ on: last_release: description: "Previous Xtensa Rust release version" required: true - default: '1.77.0.0' + default: '1.79.0.0' next_release: description: "Next Xtensa Rust release version" required: true - default: "1.77.0.0" + default: "1.79.0.0" jobs: prepare-release: diff --git a/.github/workflows/publish-idf-rust-tags.yml b/.github/workflows/publish-idf-rust-tags.yml index f275ac9e..98b507cd 100644 --- a/.github/workflows/publish-idf-rust-tags.yml +++ b/.github/workflows/publish-idf-rust-tags.yml @@ -6,7 +6,7 @@ on: toolchain-version: description: "Version of Rust toolchain" required: true - default: "1.77.0.0" + default: "1.79.0.0" publish: description: "Publish the tags to Dockehub?" required: true diff --git a/support/rust-build/Repackage-RustRelease.ps1 b/support/rust-build/Repackage-RustRelease.ps1 index 4f5d5424..6727e38f 100644 --- a/support/rust-build/Repackage-RustRelease.ps1 +++ b/support/rust-build/Repackage-RustRelease.ps1 @@ -11,7 +11,7 @@ param ( $ErrorActionPreference = "Stop" $RustVersion="nightly" -$ReleaseVersion="1.77.0.0" +$ReleaseVersion="1.79.0.0" if (Test-Path -Path esp -PathType Container) { Remove-Item -Recurse -Force -Path esp From 5107aec080c636c4f1bce9821fd09099f7698e3c Mon Sep 17 00:00:00 2001 From: Scott Mabin Date: Wed, 12 Jun 2024 13:34:31 +0100 Subject: [PATCH 2/5] Don't build LLD on MSVC, use macos-12 runner for x86 --- .github/workflows/build-x86_64-apple-darwin.yaml | 3 +-- .github/workflows/build-x86_64-pc-windows-msvc.yaml | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-x86_64-apple-darwin.yaml b/.github/workflows/build-x86_64-apple-darwin.yaml index d16b2ee6..74785200 100644 --- a/.github/workflows/build-x86_64-apple-darwin.yaml +++ b/.github/workflows/build-x86_64-apple-darwin.yaml @@ -38,8 +38,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: [macos-latest] - #os: [macos-x86_64-self-hosted] + os: [macos-12] include: - os: macos-latest ASSET_PATH: "build/dist/rust-nightly-x86_64-apple-darwin.tar.xz" diff --git a/.github/workflows/build-x86_64-pc-windows-msvc.yaml b/.github/workflows/build-x86_64-pc-windows-msvc.yaml index 898f756b..ac24b714 100644 --- a/.github/workflows/build-x86_64-pc-windows-msvc.yaml +++ b/.github/workflows/build-x86_64-pc-windows-msvc.yaml @@ -59,7 +59,7 @@ jobs: working-directory: "R:" shell: powershell run: | - python src/bootstrap/configure.py --experimental-targets=Xtensa --release-channel=nightly --release-description="${{ github.event.inputs.release_version }}" --enable-extended --tools=clippy,cargo,rustfmt,rust-analyzer-proc-macro-srv --dist-compression-formats='xz' --enable-lld + python src/bootstrap/configure.py --experimental-targets=Xtensa --release-channel=nightly --release-description="${{ github.event.inputs.release_version }}" --enable-extended --tools=clippy,cargo,rustfmt,rust-analyzer-proc-macro-srv --dist-compression-formats='xz' - name: Build with x.py - dist packages working-directory: "R:" continue-on-error: true From e4fb756ba75af51efcf71d54c45b281bc3ed141a Mon Sep 17 00:00:00 2001 From: Sergio Gasquez Date: Thu, 13 Jun 2024 12:05:06 +0200 Subject: [PATCH 3/5] ci: Fix runner --- .github/workflows/build-x86_64-apple-darwin.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-x86_64-apple-darwin.yaml b/.github/workflows/build-x86_64-apple-darwin.yaml index 74785200..c50042e1 100644 --- a/.github/workflows/build-x86_64-apple-darwin.yaml +++ b/.github/workflows/build-x86_64-apple-darwin.yaml @@ -40,7 +40,7 @@ jobs: matrix: os: [macos-12] include: - - os: macos-latest + - os: macos-12 ASSET_PATH: "build/dist/rust-nightly-x86_64-apple-darwin.tar.xz" ASSET_NAME: "rust-${{ github.event.inputs.release_version }}-x86_64-apple-darwin.tar.xz" ASSET_CONTENT_TYPE: "application/x-tar" From fb89fcfe52f4b059ff231ef3a203c12caccd5474 Mon Sep 17 00:00:00 2001 From: Sergio Gasquez Date: Thu, 13 Jun 2024 12:06:07 +0200 Subject: [PATCH 4/5] ci: Update default tag --- .github/workflows/build-aarch64-apple-darwin.yaml | 2 +- .github/workflows/build-aarch64-unknown-linux-gnu.yaml | 2 +- .github/workflows/build-rust-artifacts.yaml | 2 +- .github/workflows/build-rust-src.yaml | 2 +- .github/workflows/build-x86_64-apple-darwin.yaml | 2 +- .github/workflows/build-x86_64-pc-windows-gnu.yaml | 2 +- .github/workflows/build-x86_64-pc-windows-msvc.yaml | 2 +- .github/workflows/build-x86_64-unknown-linux-gnu.yaml | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build-aarch64-apple-darwin.yaml b/.github/workflows/build-aarch64-apple-darwin.yaml index 5e7d2409..03ed74ff 100644 --- a/.github/workflows/build-aarch64-apple-darwin.yaml +++ b/.github/workflows/build-aarch64-apple-darwin.yaml @@ -10,7 +10,7 @@ on: release_tag: description: "Release tag where artifacts will be stored (e.g. v1.79.0.0, untagged-00000)" required: true - default: "untagged-3ecdd54e672f465cad2e" + default: "v1.79.0.0" jobs: get_release: diff --git a/.github/workflows/build-aarch64-unknown-linux-gnu.yaml b/.github/workflows/build-aarch64-unknown-linux-gnu.yaml index 3b5d59f8..c68a23cc 100644 --- a/.github/workflows/build-aarch64-unknown-linux-gnu.yaml +++ b/.github/workflows/build-aarch64-unknown-linux-gnu.yaml @@ -10,7 +10,7 @@ on: release_tag: description: "Release tag where artifacts will be stored (e.g. v1.79.0.0, untagged-00000)" required: true - default: "untagged-3ecdd54e672f465cad2e" + default: "v1.79.0.0" jobs: get_release: diff --git a/.github/workflows/build-rust-artifacts.yaml b/.github/workflows/build-rust-artifacts.yaml index bd827ea2..28fef11e 100644 --- a/.github/workflows/build-rust-artifacts.yaml +++ b/.github/workflows/build-rust-artifacts.yaml @@ -10,7 +10,7 @@ on: release_tag: description: "Release tag where artifacts will be stored (e.g. v1.79.0.0, untagged-00000)" required: true - default: "untagged-3ecdd54e672f465cad2e" + default: "v1.79.0.0" aarch64-apple-darwin: description: "aarch64-apple-darwin" type: boolean diff --git a/.github/workflows/build-rust-src.yaml b/.github/workflows/build-rust-src.yaml index 2c19cdf5..8a19a5e8 100644 --- a/.github/workflows/build-rust-src.yaml +++ b/.github/workflows/build-rust-src.yaml @@ -10,7 +10,7 @@ on: release_tag: description: "Release tag where artifacts will be stored (e.g. v1.79.0.0, untagged-00000)" required: true - default: "untagged-3ecdd54e672f465cad2e" + default: "v1.79.0.0" jobs: get_release: diff --git a/.github/workflows/build-x86_64-apple-darwin.yaml b/.github/workflows/build-x86_64-apple-darwin.yaml index c50042e1..6474de01 100644 --- a/.github/workflows/build-x86_64-apple-darwin.yaml +++ b/.github/workflows/build-x86_64-apple-darwin.yaml @@ -9,7 +9,7 @@ on: release_tag: description: "Release tag where artifacts will be stored (e.g. v1.79.0.0, untagged-00000)" required: true - default: "untagged-3ecdd54e672f465cad2e" + default: "v1.79.0.0" jobs: get_release: diff --git a/.github/workflows/build-x86_64-pc-windows-gnu.yaml b/.github/workflows/build-x86_64-pc-windows-gnu.yaml index 7e246466..928c5edb 100644 --- a/.github/workflows/build-x86_64-pc-windows-gnu.yaml +++ b/.github/workflows/build-x86_64-pc-windows-gnu.yaml @@ -10,7 +10,7 @@ on: release_tag: description: "Release tag where artifacts will be stored (e.g. v1.79.0.0, untagged-00000)" required: true - default: "untagged-3ecdd54e672f465cad2e" + default: "v1.79.0.0" jobs: get_release: diff --git a/.github/workflows/build-x86_64-pc-windows-msvc.yaml b/.github/workflows/build-x86_64-pc-windows-msvc.yaml index ac24b714..641463a2 100644 --- a/.github/workflows/build-x86_64-pc-windows-msvc.yaml +++ b/.github/workflows/build-x86_64-pc-windows-msvc.yaml @@ -10,7 +10,7 @@ on: release_tag: description: "Release tag where artifacts will be stored (e.g. v1.79.0.0, untagged-00000)" required: true - default: "untagged-3ecdd54e672f465cad2e" + default: "v1.79.0.0" jobs: get_release: diff --git a/.github/workflows/build-x86_64-unknown-linux-gnu.yaml b/.github/workflows/build-x86_64-unknown-linux-gnu.yaml index a8a1e987..6fb69545 100644 --- a/.github/workflows/build-x86_64-unknown-linux-gnu.yaml +++ b/.github/workflows/build-x86_64-unknown-linux-gnu.yaml @@ -9,7 +9,7 @@ on: release_tag: description: "Release tag where artifacts will be stored (e.g. v1.79.0.0, untagged-00000)" required: true - default: "untagged-3ecdd54e672f465cad2e" + default: "v1.79.0.0" jobs: get_release: From b8e56c8f784983b2085929a35b2a3b5615cf72b7 Mon Sep 17 00:00:00 2001 From: Sergio Gasquez Date: Tue, 18 Jun 2024 09:19:24 +0200 Subject: [PATCH 5/5] ci: Delete Build Xtensa Rust toolchain workflow --- .github/workflows/build-rust-artifacts.yaml | 155 -------------------- 1 file changed, 155 deletions(-) delete mode 100644 .github/workflows/build-rust-artifacts.yaml diff --git a/.github/workflows/build-rust-artifacts.yaml b/.github/workflows/build-rust-artifacts.yaml deleted file mode 100644 index 28fef11e..00000000 --- a/.github/workflows/build-rust-artifacts.yaml +++ /dev/null @@ -1,155 +0,0 @@ -name: Build Xtensa Rust toolchain - -on: - workflow_dispatch: - inputs: - release_version: - description: "Xtensa Rust release version to build" - required: true - default: '1.79.0.0' - release_tag: - description: "Release tag where artifacts will be stored (e.g. v1.79.0.0, untagged-00000)" - required: true - default: "v1.79.0.0" - aarch64-apple-darwin: - description: "aarch64-apple-darwin" - type: boolean - required: true - default: true - aarch64-unknown-linux-gnu: - description: "aarch64-unknown-linux-gnu" - type: boolean - required: true - default: true - x86_64-apple-darwin: - description: "x86_64-apple-darwin" - type: boolean - required: true - default: true - x86_64-pc-windows-gnu: - description: "x86_64-pc-windows-gnu" - type: boolean - required: true - default: true - x86_64-pc-windows-msvc: - description: "x86_64-pc-windows-msvc" - type: boolean - required: true - default: true - x86_64-unknown-linux-gnu: - description: "x86_64-unknown-linux-gnu" - type: boolean - required: true - default: true - rust-src: - description: "rust-src" - type: boolean - required: true - default: true - -jobs: - aarch64-apple-darwin: - if: inputs.aarch64-apple-darwin == true - name: aarch64-apple-darwin - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - name: Run aarch64-apple-darwin workflow - run: | - curl -L \ - -X POST \ - -H "Accept: application/vnd.github+json" \ - -H "Authorization: Bearer ${{ secrets.PAT }}" \ - -H "X-GitHub-Api-Version: 2022-11-28" \ - https://api.github.com/repos/esp-rs/rust-build/actions/workflows/build-aarch64-apple-darwin.yaml/dispatches \ - -d '{"ref":"${{ github.ref_name }}", "inputs": { "release_version":"${{ github.event.inputs.release_version }}", "release_tag":"${{ github.event.inputs.release_tag }}" }}' - aarch64-unknown-linux-gnu: - if: inputs.aarch64-unknown-linux-gnu == true - name: aarch64-unknown-linux-gnu - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - name: Run aarch64-unknown-linux-gnu workflow - run: | - curl -L \ - -X POST \ - -H "Accept: application/vnd.github+json" \ - -H "Authorization: Bearer ${{ secrets.PAT }}" \ - -H "X-GitHub-Api-Version: 2022-11-28" \ - https://api.github.com/repos/esp-rs/rust-build/actions/workflows/build-aarch64-unknown-linux-gnu.yaml/dispatches \ - -d '{"ref":"${{ github.ref_name }}", "inputs": { "release_version":"${{ github.event.inputs.release_version }}", "release_tag":"${{ github.event.inputs.release_tag }}" }}' - x86_64-apple-darwin: - if: inputs.x86_64-apple-darwin == true - name: x86_64-apple-darwin - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - name: Run x86_64-apple-darwin workflow - run: | - curl -L \ - -X POST \ - -H "Accept: application/vnd.github+json" \ - -H "Authorization: Bearer ${{ secrets.PAT }}" \ - -H "X-GitHub-Api-Version: 2022-11-28" \ - https://api.github.com/repos/esp-rs/rust-build/actions/workflows/build-x86_64-apple-darwin.yaml/dispatches \ - -d '{"ref":"${{ github.ref_name }}", "inputs": { "release_version":"${{ github.event.inputs.release_version }}", "release_tag":"${{ github.event.inputs.release_tag }}" }}' - x86_64-pc-windows-gnu: - if: inputs.x86_64-pc-windows-gnu == true - name: x86_64-pc-windows-gnu - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - name: Run x86_64-pc-windows-gnu workflow - run: | - curl -L \ - -X POST \ - -H "Accept: application/vnd.github+json" \ - -H "Authorization: Bearer ${{ secrets.PAT }}" \ - -H "X-GitHub-Api-Version: 2022-11-28" \ - https://api.github.com/repos/esp-rs/rust-build/actions/workflows/build-x86_64-pc-windows-gnu.yaml/dispatches \ - -d '{"ref":"${{ github.ref_name }}", "inputs": { "release_version":"${{ github.event.inputs.release_version }}", "release_tag":"${{ github.event.inputs.release_tag }}" }}' - x86_64-pc-windows-msvc: - if: inputs.x86_64-pc-windows-msvc == true - name: x86_64-pc-windows-msvc - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - name: Run x86_64-pc-windows-msvc workflow - run: | - curl -L \ - -X POST \ - -H "Accept: application/vnd.github+json" \ - -H "Authorization: Bearer ${{ secrets.PAT }}" \ - -H "X-GitHub-Api-Version: 2022-11-28" \ - https://api.github.com/repos/esp-rs/rust-build/actions/workflows/build-x86_64-pc-windows-msvc.yaml/dispatches \ - -d '{"ref":"${{ github.ref_name }}", "inputs": { "release_version":"${{ github.event.inputs.release_version }}", "release_tag":"${{ github.event.inputs.release_tag }}" }}' - x86_64-unknown-linux-gnu: - if: inputs.x86_64-unknown-linux-gnu == true - name: x86_64-unknown-linux-gnu - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - name: Run x86_64-unknown-linux-gnu workflow - run: | - curl -L \ - -X POST \ - -H "Accept: application/vnd.github+json" \ - -H "Authorization: Bearer ${{ secrets.PAT }}" \ - -H "X-GitHub-Api-Version: 2022-11-28" \ - https://api.github.com/repos/esp-rs/rust-build/actions/workflows/build-x86_64-unknown-linux-gnu.yaml/dispatches \ - -d '{"ref":"${{ github.ref_name }}", "inputs": { "release_version":"${{ github.event.inputs.release_version }}", "release_tag":"${{ github.event.inputs.release_tag }}" }}' - rust-src: - if: inputs.rust-src == true - name: rust-src - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - name: Run rust-src workflow - run: | - curl -L \ - -X POST \ - -H "Accept: application/vnd.github+json" \ - -H "Authorization: Bearer ${{ secrets.PAT }}" \ - -H "X-GitHub-Api-Version: 2022-11-28" \ - https://api.github.com/repos/esp-rs/rust-build/actions/workflows/build-rust-src.yaml/dispatches \ - -d '{"ref":"${{ github.ref_name }}", "inputs": { "release_version":"${{ github.event.inputs.release_version }}", "release_tag":"${{ github.event.inputs.release_tag }}" }}'