From 7c6dfeb5994d52bac40704eb73aadd9252efa8fe Mon Sep 17 00:00:00 2001 From: howardwu Date: Thu, 25 Feb 2021 10:02:31 -0800 Subject: [PATCH] Remove leo publish from GA --- .github/workflows/leo-publish.yml | 53 ------------------------------- 1 file changed, 53 deletions(-) delete mode 100644 .github/workflows/leo-publish.yml diff --git a/.github/workflows/leo-publish.yml b/.github/workflows/leo-publish.yml deleted file mode 100644 index 7760898d70..0000000000 --- a/.github/workflows/leo-publish.yml +++ /dev/null @@ -1,53 +0,0 @@ -name: leo-publish -on: - pull_request: - push: - branches: - - master - paths-ignore: - - 'docs/**' - - 'documentation/**' -env: - RUST_BACKTRACE: 1 - -jobs: - publish: - name: Publish Package ('leo publish') - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v1 - - - name: Install Rust - uses: actions-rs/toolchain@v1 - with: - profile: minimal - toolchain: nightly - override: true - components: rustfmt - - - name: Install Leo - uses: actions-rs/cargo@v1 - env: - CARGO_NET_GIT_FETCH_WITH_CLI: true - with: - command: install - args: --path . - - # sed command below takes 0.1.0 version (which is default for new programs) - # and replaces it with GITHUB_RUN_ID - a unique incremental number for each - # GH Actions run; [AUTHOR] gets replaced with $USER variable; and we're ready - # to publish package with newer version and correct author - - name: 'leo login, publish and logout' - env: - USER: ${{ secrets.ALEO_PM_USERNAME }} - PASS: ${{ secrets.ALEO_PM_PASSWORD }} - run: | - cd .. && leo new test-app && cd test-app - leo login -u "$USER" -p "$PASS" - cat Leo.toml | sed "s/0.1.0/0.1.$GITHUB_RUN_ID/g" | sed "s/\[AUTHOR\]/$USER/g" > Leo.toml - leo publish - leo logout - - -