Skip to content

Commit

Permalink
Fix copr upload (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikReider authored May 4, 2024
1 parent fe1355c commit 6205605
Showing 1 changed file with 18 additions and 8 deletions.
26 changes: 18 additions & 8 deletions .github/workflows/copr_upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,6 @@ on:

jobs:
upload-copr:
strategy:
fail-fast: false
matrix:
pkgname: [ swayfx, scenefx ]

container: fedora:latest
runs-on: ubuntu-latest
steps:
Expand All @@ -36,14 +31,29 @@ jobs:
- name: Install dependencies
run: |
dnf -y install copr-cli
dnf -y install copr-cli rpkg @rpm-development-tools
- name: Check out sources
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Submit the build to copr
- name: SceneFX Download RPM Spec sources
run: |
cd COPR/scenefx
spectool -g ./scenefx.rpkg.spec
- name: SceneFX Submit the build to copr
run: |
cd COPR/scenefx
rpkg -v copr-build -w ${{ secrets.COPR_REPO_NAME }}
- name: SwayFX Download RPM Spec sources
run: |
cd COPR/swayfx
spectool -g ./swayfx.rpkg.spec
- name: SwayFX Submit the build to copr
run: |
cd COPR/${{matrix.pkgname}}
cd COPR/swayfx
rpkg -v copr-build -w ${{ secrets.COPR_REPO_NAME }}

0 comments on commit 6205605

Please sign in to comment.