From 1df2225a52b9fa1b7eac238dd584722400a1ad42 Mon Sep 17 00:00:00 2001 From: Joseph Flinn <58369717+joseph-flinn@users.noreply.github.com> Date: Fri, 24 Sep 2021 09:28:37 -0700 Subject: [PATCH] Ran the new linter over the web project and found some errors (#1197) --- .github/workflows/build.yml | 2 +- .github/workflows/qa-deploy.yml | 2 +- .github/workflows/release.yml | 9 ++++----- 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2e57e114..ae2ca2ff 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -97,7 +97,7 @@ jobs: id: image-tag run: | IMAGE_TAG=$(echo "$GITHUB_REF" | awk '{split($0, a, "/"); print a[3];}') - TAG_EXTENSION=${{ github.events.inputs.custom_tag_extension }} + TAG_EXTENSION=${{ github.event.inputs.custom_tag_extension }} if [[ $TAG_EXTENSION ]]; then IMAGE_TAG=$IMAGE_TAG-$TAG_EXTENSION diff --git a/.github/workflows/qa-deploy.yml b/.github/workflows/qa-deploy.yml index b3aadb89..b009a803 100644 --- a/.github/workflows/qa-deploy.yml +++ b/.github/workflows/qa-deploy.yml @@ -56,7 +56,7 @@ jobs: id: image_tag run: | IMAGE_TAG=$(echo "$GITHUB_REF" | awk '{split($0, a, "/"); print a[3];}') - TAG_EXTENSION=${{ github.events.inputs.image_extension }} + TAG_EXTENSION=${{ github.event.inputs.image_extension }} if [[ $TAG_EXTENSION ]]; then IMAGE_TAG=$IMAGE_TAG-$TAG_EXTENSION diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a0960cb7..ead99b0f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -10,9 +10,8 @@ jobs: name: Setup runs-on: ubuntu-20.04 outputs: - release_upload_url: ${{ steps.create_release.outputs.upload_url }} - release_version: ${{ steps.create_tags.outputs.package }} - tag_version: ${{ steps.create_tags.outputs.tag }} + release_version: ${{ steps.version.outputs.package }} + tag_version: ${{ steps.version.outputs.tag }} steps: - name: Branch check run: | @@ -172,7 +171,7 @@ jobs: with: artifacts: prod-build-artifact.zip commit: ${{ github.sha }} - tag: "${{ needs.version.outputs.tag_version }}" - name: "Version ${{ needs.version.outputs.release_version }}" + tag: "${{ needs.setup.outputs.tag_version }}" + name: "Version ${{ needs.setup.outputs.release_version }}" body: "" token: ${{ secrets.GITHUB_TOKEN }}