mirror of
https://github.com/ClusterCockpit/cc-metric-collector.git
synced 2024-12-25 15:09:05 +01:00
Add safe.directory to Release action
This commit is contained in:
parent
195d0794b0
commit
e42b41f264
9
.github/workflows/Release.yml
vendored
9
.github/workflows/Release.yml
vendored
@ -51,7 +51,9 @@ jobs:
|
|||||||
|
|
||||||
- name: RPM build MetricCollector
|
- name: RPM build MetricCollector
|
||||||
id: rpmbuild
|
id: rpmbuild
|
||||||
run: make RPM
|
run: |
|
||||||
|
git config --global --add safe.directory /__w/cc-metric-collector/cc-metric-collector
|
||||||
|
make RPM
|
||||||
|
|
||||||
# AlmaLinux 8.5 is a derivate of RedHat Enterprise Linux 8 (UBI8),
|
# AlmaLinux 8.5 is a derivate of RedHat Enterprise Linux 8 (UBI8),
|
||||||
# so the created RPM both contain the substring 'el8' in the RPM file names
|
# so the created RPM both contain the substring 'el8' in the RPM file names
|
||||||
@ -119,7 +121,9 @@ jobs:
|
|||||||
|
|
||||||
- name: RPM build MetricCollector
|
- name: RPM build MetricCollector
|
||||||
id: rpmbuild
|
id: rpmbuild
|
||||||
run: make RPM
|
run: |
|
||||||
|
git config --global --add safe.directory /__w/cc-metric-collector/cc-metric-collector
|
||||||
|
make RPM
|
||||||
|
|
||||||
# See: https://github.com/actions/upload-artifact
|
# See: https://github.com/actions/upload-artifact
|
||||||
- name: Save RPM as artifact
|
- name: Save RPM as artifact
|
||||||
@ -168,6 +172,7 @@ jobs:
|
|||||||
id: dpkg-build
|
id: dpkg-build
|
||||||
run: |
|
run: |
|
||||||
export PATH=/usr/local/go/bin:/usr/local/go/pkg/tool/linux_amd64:$PATH
|
export PATH=/usr/local/go/bin:/usr/local/go/pkg/tool/linux_amd64:$PATH
|
||||||
|
git config --global --add safe.directory /__w/cc-metric-collector/cc-metric-collector
|
||||||
make DEB
|
make DEB
|
||||||
- name: Rename DEB (add '_ubuntu20.04')
|
- name: Rename DEB (add '_ubuntu20.04')
|
||||||
id: debrename
|
id: debrename
|
||||||
|
Loading…
Reference in New Issue
Block a user