Updated COPR Action
This commit is contained in:
9
.github/workflows/fedora-copr.yml
vendored
9
.github/workflows/fedora-copr.yml
vendored
@@ -15,11 +15,18 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Install API token for copr-cli
|
- name: Install API token for copr-cli
|
||||||
env:
|
env:
|
||||||
# To generate a new token: https://copr.fedorainfracloud.org/api/.
|
API_LOGIN: ${{ secrets.COPR_API_LOGIN }}
|
||||||
|
API_USERNAME: ${{ secrets.COPR_API_USERNAME }}
|
||||||
API_TOKEN_CONTENT: ${{ secrets.COPR_API_TOKEN }}
|
API_TOKEN_CONTENT: ${{ secrets.COPR_API_TOKEN }}
|
||||||
run: |
|
run: |
|
||||||
mkdir -p "$HOME/.config"
|
mkdir -p "$HOME/.config"
|
||||||
echo "$API_TOKEN_CONTENT" > "$HOME/.config/copr"
|
echo "$API_TOKEN_CONTENT" > "$HOME/.config/copr"
|
||||||
|
# To generate a new token: https://copr.fedorainfracloud.org/api/.
|
||||||
|
echo "[copr-cli]" >> "$HOME/.config/copr"
|
||||||
|
echo "login = $API_LOGIN" >> "$HOME/.config/copr"
|
||||||
|
echo "username = $API_USERNAME" >> "$HOME/.config/copr"
|
||||||
|
echo "token = $API_TOKEN_CONTENT" >> "$HOME/.config/copr"
|
||||||
|
echo "copr_url = https://copr.fedorainfracloud.org" >> "$HOME/.config/copr"
|
||||||
|
|
||||||
- name: Install tooling for source RPM build
|
- name: Install tooling for source RPM build
|
||||||
run: |
|
run: |
|
||||||
|
Reference in New Issue
Block a user