Skip to content

πŸ”’ Move winfiles #44

πŸ”’ Move winfiles

πŸ”’ Move winfiles #44

name: "Move winfiles"
run-name: "πŸ”’ Move winfiles"
env:
ENV_NAME: "winfiles"
on:
push:
branches:
- main
paths:
- "genfiles/images/**"
- "winfiles/**"
- "!winfiles/README.md"
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ env.ENV_NAME }}

Check failure on line 18 in .github/workflows/dot.move-winfiles.yaml

View workflow run for this annotation

GitHub Actions / Move winfiles

Invalid workflow file

The workflow is not valid. .github/workflows/dot.move-winfiles.yaml (Line: 18, Col: 10): Unrecognized named-value: 'env'. Located at position 1 within expression: env.ENV_NAME .github/workflows/dot.move-winfiles.yaml (Line: 27, Col: 11): Unrecognized named-value: 'env'. Located at position 1 within expression: env.ENV_NAME
cancel-in-progress: true
permissions:
contents: write
jobs:
move-files:
runs-on: ubuntu-latest
name: "Move ${{ env.ENV_NAME }}"
environment: ${{ env.ENV_NAME }}
steps:
- name: "Checkout repository"
id: checkout-repo
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: "Move files"
id: move-files
uses: ./.github/actions/templates/moveFiles
with:
CONFIG_FILE_PATH: "${{ env.ENV_NAME }}/to_move.yaml"