mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-19 14:25:27 +00:00
reorder Copr yaml
We need to have git setup before trying to get the build number. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
aea2f36de2
commit
de8dc87ecf
1 changed files with 10 additions and 10 deletions
20
.github/workflows/fedora-copr-build.yml
vendored
20
.github/workflows/fedora-copr-build.yml
vendored
|
@ -15,6 +15,16 @@ jobs:
|
|||
- name: Check out sources
|
||||
uses: actions/checkout@v1
|
||||
|
||||
- name: Setup build dependencies in the Fedora container
|
||||
run: |
|
||||
dnf -y install @development-tools @rpm-development-tools
|
||||
dnf -y install copr-cli make
|
||||
|
||||
- name: setup git
|
||||
run: |
|
||||
git config --global --add safe.directory /__w/subsurface/subsurface
|
||||
git config --global --add safe.directory /__w/subsurface/subsurface/libdivecomputer
|
||||
|
||||
- name: atomically create or retrieve the build number
|
||||
id: version_number
|
||||
if: github.event_name == 'push'
|
||||
|
@ -43,16 +53,6 @@ jobs:
|
|||
cp packaging/copr/config.copr "$HOME/.config/copr"
|
||||
sed -i "s/API_TOKEN/$API_TOKEN/;s/API_LOGIN/$API_LOGIN/" "$HOME/.config/copr"
|
||||
|
||||
- name: Setup build dependencies in the Fedora container
|
||||
run: |
|
||||
dnf -y install @development-tools @rpm-development-tools
|
||||
dnf -y install copr-cli make
|
||||
|
||||
- name: setup git
|
||||
run: |
|
||||
git config --global --add safe.directory /__w/subsurface/subsurface
|
||||
git config --global --add safe.directory /__w/subsurface/subsurface/libdivecomputer
|
||||
|
||||
- name: Checkout googlemaps
|
||||
run: |
|
||||
cd ..
|
||||
|
|
Loading…
Add table
Reference in a new issue