diff options
| author | 2025-01-16 22:24:37 +0800 | |
|---|---|---|
| committer | 2025-01-16 22:24:37 +0800 | |
| commit | 27336f97727618504ee975a58531746c1d5246a7 (patch) | |
| tree | e8132eb2236224b1b5714adca2cac0309b034fdf /.github/workflows | |
| parent | 13239ef88ccf92632a33983615505c792a880105 (diff) | |
| download | DropOut-27336f97727618504ee975a58531746c1d5246a7.tar.gz DropOut-27336f97727618504ee975a58531746c1d5246a7.zip | |
refactor: 移除 macOS 环境变量设置步骤并注释掉 Ubuntu 依赖安装
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/release.yml | 28 |
1 files changed, 3 insertions, 25 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 55885c8..c6f2d84 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -25,31 +25,9 @@ jobs: - name: Checkout code uses: actions/checkout@v3 - - name: Set up pkg-config for macOS - if: matrix.os == 'macos-latest' - run: | - brew install pkg-config - echo 'export PKG_CONFIG_ALLOW_CROSS=1' >> $GITHUB_ENV - echo 'export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig' >> $GITHUB_ENV - echo 'export PKG_CONFIG_SYSROOT_DIR=/usr/local' >> $GITHUB_ENV - - - name: Export environment variables for macOS - if: matrix.os == 'macos-latest' - run: | - export PKG_CONFIG_ALLOW_CROSS=1 - export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig - export PKG_CONFIG_SYSROOT_DIR=/usr/local - - - name: Set up Rust - uses: actions-rs/toolchain@v1 - with: - toolchain: stable - target: ${{ matrix.target }} - override: true - - - name: Install dependencies - run: sudo apt-get install -y libgtk-3-dev - if: matrix.os == 'ubuntu-latest' + # - name: Install dependencies + # run: sudo apt-get install -y libgtk-3-dev + # if: matrix.os == 'ubuntu-latest' - name: Build run: cargo build --release --target ${{ matrix.target }} |