From f729f6553741cf28e11f89b5205e8ebdb265fe0a Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 10 Feb 2020 00:32:40 +0100 Subject: [PATCH] add missing $ (#412) [version updates] (#413) Co-authored-by: Jacob Bolda --- .github/workflows/release-cargo.yml | 2 +- .github/workflows/release-npm.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release-cargo.yml b/.github/workflows/release-cargo.yml index 1b0064501..5a3051447 100644 --- a/.github/workflows/release-cargo.yml +++ b/.github/workflows/release-cargo.yml @@ -48,7 +48,7 @@ jobs: run: echo ::set-env name=PUBLISHED_VERSION::$(cargo search ${{ matrix.package.registryName }} --limit 1 | sed -nE 's/^[^"]*"//; s/".*//1p' -) - name: cargo login if: env.PACKAGE_VERSION != env.PUBLISHED_VERSION - run: cargo login {{ secrets.crate_token }} + run: cargo login ${{ secrets.crate_token }} - name: cargo package if: env.PACKAGE_VERSION != env.PUBLISHED_VERSION working-directory: ${{ matrix.package.path }} diff --git a/.github/workflows/release-npm.yml b/.github/workflows/release-npm.yml index 56ab9c05c..3cca08bff 100644 --- a/.github/workflows/release-npm.yml +++ b/.github/workflows/release-npm.yml @@ -50,7 +50,7 @@ jobs: working-directory: ${{ matrix.package.path }} run: | echo "# NPM Audit Results" | tee -a ${{runner.workspace }}/notes.md - npm audit 2>&1 | tee -a ${{runner.workspace }}/notes.md + yarn audit 2>&1 | tee -a ${{runner.workspace }}/notes.md - name: Publish ${{ matrix.package.name }} if: env.PACKAGE_VERSION != env.PUBLISHED_VERSION working-directory: ${{ matrix.package.path }} @@ -78,7 +78,7 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: - upload_url: ${{ steps.create_npm_release.outputs.upload_url }} + upload_url: ${{ steps.create_npm_release.outputs.upload_url }} asset_path: ./${{ matrix.package.path }}/${{ matrix.package.registryName }}-${{ env.PACKAGE_VERSION }}.tgz asset_name: ${{ matrix.package.registryName }}-${{ env.PACKAGE_VERSION }}.tgz asset_content_type: application/x-gtar