From 7c2839b9c87b29af40832e28aca090847daa6649 Mon Sep 17 00:00:00 2001 From: RustyTake-Off <109174317+RustyTake-Off@users.noreply.github.com> Date: Fri, 6 Sep 2024 13:37:19 +0200 Subject: [PATCH] Fix env not working --- .github/workflows/dot.move-winfiles.yaml | 8 ++++---- .github/workflows/dot.move-wslfiles.yaml | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/dot.move-winfiles.yaml b/.github/workflows/dot.move-winfiles.yaml index 0bb029e..2835684 100644 --- a/.github/workflows/dot.move-winfiles.yaml +++ b/.github/workflows/dot.move-winfiles.yaml @@ -15,7 +15,7 @@ on: workflow_dispatch: concurrency: - group: ${{ github.workflow }}-${{ github.ref }}-${{ github.env.ENV_NAME }} + group: ${{ github.workflow }}-${{ github.ref }}-${{ env.ENV_NAME }} cancel-in-progress: true permissions: @@ -24,8 +24,8 @@ permissions: jobs: move-files: runs-on: ubuntu-latest - name: "Move ${{ github.env.ENV_NAME }}" - environment: ${{ github.env.ENV_NAME }} + name: "Move ${{ env.ENV_NAME }}" + environment: ${{ env.ENV_NAME }} steps: - name: "Checkout repository" @@ -38,4 +38,4 @@ jobs: id: move-files uses: ./.github/actions/templates/moveFiles with: - CONFIG_FILE_PATH: "${{ github.env.ENV_NAME }}/to_move.yaml" + CONFIG_FILE_PATH: "${{ env.ENV_NAME }}/to_move.yaml" diff --git a/.github/workflows/dot.move-wslfiles.yaml b/.github/workflows/dot.move-wslfiles.yaml index 7bd2eba..39fb4e7 100644 --- a/.github/workflows/dot.move-wslfiles.yaml +++ b/.github/workflows/dot.move-wslfiles.yaml @@ -14,7 +14,7 @@ on: workflow_dispatch: concurrency: - group: ${{ github.workflow }}-${{ github.ref }}-${{ github.env.ENV_NAME }} + group: ${{ github.workflow }}-${{ github.ref }}-${{ env.ENV_NAME }} cancel-in-progress: true permissions: @@ -23,8 +23,8 @@ permissions: jobs: move-files: runs-on: ubuntu-latest - name: "Move ${{ github.env.ENV_NAME }}" - environment: ${{ github.env.ENV_NAME }} + name: "Move ${{ env.ENV_NAME }}" + environment: ${{ env.ENV_NAME }} steps: - name: "Checkout repository" @@ -37,4 +37,4 @@ jobs: id: move-files uses: ./.github/actions/templates/moveFiles with: - CONFIG_FILE_PATH: "${{ github.env.ENV_NAME }}/to_move.yaml" + CONFIG_FILE_PATH: "${{ env.ENV_NAME }}/to_move.yaml"