From 6bb4122a85eaf2f9f6968eb9b982bddfd6ece496 Mon Sep 17 00:00:00 2001 From: Nicola Sella Date: Wed, 20 Sep 2023 16:14:36 +0200 Subject: [PATCH] Remove dependency from setup-ci action --- .github/workflows/ci.yml | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1e5c18c32..71dc1de7b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,12 +19,14 @@ jobs: with: repository: rpm-software-management/ci-dnf-stack - - name: Setup CI - id: setup-ci - uses: ./.github/actions/setup-ci - with: - copr-user: ${{secrets.COPR_USER}} - copr-api-token: ${{secrets.COPR_API_TOKEN}} + - name: Setup Copr + id: copr-setup + shell: bash + env: + COPR_API_TOKEN: ${{ secrets.COPR_API_TOKEN }} + run: | + mkdir -p "$HOME/.config" + echo "$COPR_API_TOKEN" > "$HOME/.config/copr" - name: Check out sources uses: actions/checkout@v2 @@ -37,7 +39,7 @@ jobs: id: copr-build uses: ./.github/actions/copr-build with: - copr-user: ${{steps.setup-ci.outputs.copr-user}} + copr-user: ${{vars.COPR_USER}} overlay: dnf5-ci integration-tests: