From 724c2fbd23ad951e0d3f3242ed223112a37f8fc2 Mon Sep 17 00:00:00 2001 From: tu6ge Date: Mon, 20 May 2024 10:39:01 +0800 Subject: [PATCH] chore: debug publish_action --- .github/workflows/publish.yml | 52 +++++++++++++++++------------------ 1 file changed, 26 insertions(+), 26 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index eaa09bd..3f2c99c 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -39,34 +39,34 @@ jobs: run: | cargo install publish-action --version=0.3.4 - - name: Run Test - run: | - cargo test --lib -- tests - cargo test --lib --no-default-features -- tests - # --all-features, exclude env_test features - cargo test --lib --features="blocking,sts,put_file,core,auth,decode" -- tests - cargo test --lib --features blocking --no-default-features tests - cargo test --lib --features blocking tests - cargo test --lib --features sts --no-default-features tests - cargo test --lib --features put_file --no-default-features tests - cargo test --lib --features core --no-default-features tests - cargo test --lib --features auth --no-default-features tests - cargo test --lib --features decode --no-default-features tests - cargo test --lib --jobs 1 --features env_test tests::env::client_from_env - cargo test --lib --jobs 1 --features env_test tests::env::config_from_env - cargo test --lib --jobs 1 --features env_test tests::env::bucket_base_from_env - cargo test --lib --jobs 1 --features env_test tests::env::end_point_from_env - # --all-features, exclude bench features - cargo test --doc --all-features - cd oss_derive - cargo test - cargo test --features blocking + # - name: Run Test + # run: | + # cargo test --lib -- tests + # cargo test --lib --no-default-features -- tests + # # --all-features, exclude env_test features + # cargo test --lib --features="blocking,sts,put_file,core,auth,decode" -- tests + # cargo test --lib --features blocking --no-default-features tests + # cargo test --lib --features blocking tests + # cargo test --lib --features sts --no-default-features tests + # cargo test --lib --features put_file --no-default-features tests + # cargo test --lib --features core --no-default-features tests + # cargo test --lib --features auth --no-default-features tests + # cargo test --lib --features decode --no-default-features tests + # cargo test --lib --jobs 1 --features env_test tests::env::client_from_env + # cargo test --lib --jobs 1 --features env_test tests::env::config_from_env + # cargo test --lib --jobs 1 --features env_test tests::env::bucket_base_from_env + # cargo test --lib --jobs 1 --features env_test tests::env::end_point_from_env + # # --all-features, exclude bench features + # cargo test --doc --all-features + # cd oss_derive + # cargo test + # cargo test --features blocking - name: Run publish-action - if: ${{ github.event_name == 'push' }} - id: publish-action - run: - publish-action + uses: tu6ge/publish-action@master + with: + dir: 'oss_derive' + tag_prefix: "test_" env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}