From ed679dea6b1e8608c50a952f0e594c66f6e515ce Mon Sep 17 00:00:00 2001 From: Marten Seemann Date: Sun, 17 Oct 2021 17:24:11 +0200 Subject: [PATCH] fix file handling in copy workflow --- .github/workflows/copy-workflow.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/copy-workflow.yml b/.github/workflows/copy-workflow.yml index 09b32d31..5b14f86f 100644 --- a/.github/workflows/copy-workflow.yml +++ b/.github/workflows/copy-workflow.yml @@ -155,13 +155,13 @@ jobs: git commit -m "run gofmt -s" fi - name: determine files to add - run: echo "FILES='${{ toJson(github.event.inputs.files) }}'" >> $GITHUB_ENV + run: echo "FILES=${{ toJson(github.event.inputs.files) }}" >> $GITHUB_ENV - name: add more versioning workflows files, if necessary if: matrix.cfg.deploy_versioning run: | - files=$(jq -r '.[]' <<< ${{ env.FILES }}) + files=$(jq -r '.[]' <<< '${{ env.FILES }}') files+=(".github/workflows/releaser.yml" ".github/workflows/release-check.yml" ".github/workflows/tagpush.yml") - echo "FILES='$(jq -nc '$ARGS.positional' --args ${files[@]})'" >> $GITHUB_ENV + echo "FILES=$(jq -nc '$ARGS.positional' --args ${files[@]})" >> $GITHUB_ENV - name: Add files run: | for f in $(jq -r ".[]" <<< ${{ toJson(env.FILES) }}); do