Skip to content

Commit

Permalink
Remove dependency from setup-ci action
Browse files Browse the repository at this point in the history
  • Loading branch information
inknos committed Sep 20, 2023
1 parent b00d940 commit 620bafb
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,15 @@ 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: |
if [ -z $COPR_API_TOKEN ]; then echo "COPR_API_TOKEN secret is required to run the CI."; exit 1; fi
mkdir -p "$HOME/.config"
echo "$COPR_API_TOKEN" > "$HOME/.config/copr"
- name: Check out sources
uses: actions/checkout@v2
Expand All @@ -37,7 +40,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:
Expand Down

0 comments on commit 620bafb

Please sign in to comment.