diff --git a/.github/workflows/Release.yml b/.github/workflows/Release.yml index 908ef6b..650ab2e 100644 --- a/.github/workflows/Release.yml +++ b/.github/workflows/Release.yml @@ -7,9 +7,10 @@ env: FLUTTER_CHANNEL: 'stable' FLUTTER_VERSION: '3.24.3' LLVM_VERSION: '10.0' - GH_TOKEN: ${{ secrets.GH_TOKEN }} RUST_TOOLCHAIN: nightly-2024-09-04 NDK_VERSION: 25.2.9519653 + REPO: ${{ github.event.inputs.repo }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} jobs: @@ -83,8 +84,6 @@ jobs: env: TARGET: ${{ matrix.config.target }} - REPO: ${{ github.event.inputs.repo }} - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} steps: - name: Checkout diff --git a/ci/src/check_release/main.rs b/ci/src/check_release/main.rs index 2e89c90..274dba7 100644 --- a/ci/src/check_release/main.rs +++ b/ci/src/check_release/main.rs @@ -6,7 +6,6 @@ use std::process::exit; async fn main() -> Result<()> { // get ghToken let gh_token = std::env::var("GITHUB_TOKEN")?; - let target = std::env::var("TARGET")?; let repo = std::env::var("REPO")?; let flutter_version = std::env::var("FLUTTER_VERSION")?;