Skip to content

Commit

Permalink
ci: fix gnu
Browse files Browse the repository at this point in the history
  • Loading branch information
George-Miao authored and hannesdejager committed Jul 10, 2024
1 parent 4109e68 commit 39ad118
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -283,7 +283,7 @@ jobs:
# id: latest_release_info
# uses: jossef/[email protected]
# env:
# GITHUB_TOKEN: ${{ github.token }}
# GITHUB_TOKEN: ${{ github.token }}
- name: Download
uses: actions/download-artifact@v2
with:
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down

0 comments on commit 39ad118

Please sign in to comment.