From 39ad1183af4ca30bc93aff103aefacf0a330e8a7 Mon Sep 17 00:00:00 2001 From: George Miao Date: Tue, 9 Jul 2024 19:02:28 +0900 Subject: [PATCH] ci: fix gnu --- .github/workflows/rust.yml | 6 +++--- Cargo.toml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index f45023c..0df46a6 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -215,7 +215,7 @@ jobs: default: true target: ${{ env.target }} - name: Build for macOS (Intel) - run: cargo build --release --target=${{ env.target }} --features rest_auth,jsonfile_auth,cloud_storage + run: cargo build --release --target=${{ env.target }} --features rest_auth,jsonfile_auth,cloud_storage,azblob - name: Rename run: mv target/${{ env.target }}/release/unftp target/${{ env.target }}/release/unftp_${{ env.target }} - name: Upload build artifacts @@ -247,7 +247,7 @@ jobs: if: runner.os == 'macOS' && runner.arch == 'arm64' run: softwareupdate --install-rosetta --agree-to-license - name: Build - run: cargo build --release --target=${{ env.target }} --features rest_auth,jsonfile_auth,cloud_storage + run: cargo build --release --target=${{ env.target }} --features rest_auth,jsonfile_auth,cloud_storage,azblob - name: Rename run: mv target/${{ env.target }}/release/unftp target/${{ env.target }}/release/unftp_${{ env.target }} - name: Upload build artifacts @@ -283,7 +283,7 @@ jobs: # id: latest_release_info # uses: jossef/action-latest-release-info@v1.2.1 # env: - # GITHUB_TOKEN: ${{ github.token }} + # GITHUB_TOKEN: ${{ github.token }} - name: Download uses: actions/download-artifact@v2 with: diff --git a/Cargo.toml b/Cargo.toml index 9a379f2..e744014 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -63,7 +63,7 @@ unftp-auth-pam = { version = "0.2.5", optional = true } [features] default = ["rest_auth", "cloud_storage", "jsonfile_auth", "opendal"] -all_extentions = ["pam_auth", "rest_auth", "jsonfile_auth", "cloud_storage"] +all_extentions = ["pam_auth", "rest_auth", "jsonfile_auth", "cloud_storage", "opendal"] cloud_storage = ["unftp-sbe-gcs"] jsonfile_auth = ["unftp-auth-jsonfile"] pam_auth = ["unftp-auth-pam"]