feat: simplify authentication using rokit command

This commit is contained in:
Erica Marigold 2024-08-10 17:23:04 +05:30 committed by GitHub
parent 2ac42ad639
commit 465929fd6e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -62,10 +62,7 @@ runs:
shell: powershell shell: powershell
- name: Create auth file - name: Create auth file
run: | run: rokit authenticate github --token ${{ inputs.token }}
cat > $HOME/.rokit/auth.toml << EOF
github = "${{ inputs.token }}"
EOF
shell: bash shell: bash
- name: Discover manifest file - name: Discover manifest file