Try creating config file before write

This commit is contained in:
2025-11-27 00:41:34 +01:00
parent ebbb1401fc
commit adef41a681
+2 -1
View File
@@ -9,7 +9,7 @@ runs:
shell: bash
inputs:
copr_project:
description: The name of teh project to build
description: The name of the project to build
required: true
specfile:
description: The filename of the spec file to build. If not set and there is only 1 specfile, it will be selected automatically.
@@ -18,6 +18,7 @@ runs:
set -e
# The output of https://copr.fedorainfracloud.org/api/
mkdir ~/.config
cat << EOF > ~/.config/copr
${{ secrets.COPR_API_CONFIG }}
EOF