initial setup

This commit is contained in:
2026-02-12 08:07:59 +01:00
commit 6c75fb903e

20
action.yml Normal file
View File

@@ -0,0 +1,20 @@
name: 'Setup .netrc'
description: 'Sets up ~/.netrc for authentication'
inputs:
dot_netrc:
description: 'Content of the .netrc file'
required: true
runs:
using: 'composite'
steps:
- name: Write .netrc
shell: bash
run: |
if [ -n "${{ inputs.dot_netrc }}" ]; then
echo "${{ inputs.dot_netrc }}" > ~/.netrc
chmod 600 ~/.netrc
else
echo "Error: dot_netrc input is empty"
exit 1
fi