Skip to content

Commit

Permalink
workflows: fix github action to work with files containing colons
Browse files Browse the repository at this point in the history
  • Loading branch information
Noki authored and FFHener committed Feb 18, 2024
1 parent 6115b9f commit 8a60510
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/configrun.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,15 @@ jobs:
fi
mkdir -p ./tmp/configs
- name: Create tar from configs folder
run: |
# create a tar containing the configs, as files with colons might be created which are rejected by upload-artifact
# upload-artifact rejects all files that might cause issues with file systems that do not support all characters
tar -cvf ./tmp/configs.tar ./tmp/configs/
- name: Store build output
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v4
with:
name: ansibleconfigs
path: ./tmp/configs
path: |
./tmp/configs.tar

0 comments on commit 8a60510

Please sign in to comment.