mirror of
https://github.com/ClusterCockpit/cc-metric-collector.git
synced 2024-12-25 23:19:06 +01:00
Change config file permissions in GH Action
This commit is contained in:
parent
03d5486413
commit
b9e6f50d5f
15
.github/workflows/runonce.yml
vendored
15
.github/workflows/runonce.yml
vendored
@ -33,6 +33,11 @@ jobs:
|
||||
- name: Build MetricCollector
|
||||
run: make
|
||||
|
||||
- name: Set config file permissions
|
||||
run: |
|
||||
chown $USER .github/ci*.json
|
||||
chmod 0600 .github/ci*.json
|
||||
|
||||
- name: Run MetricCollector once
|
||||
run: ./cc-metric-collector --once --config .github/ci-config.json
|
||||
|
||||
@ -59,6 +64,11 @@ jobs:
|
||||
- name: Build MetricCollector
|
||||
run: make
|
||||
|
||||
- name: Set config file permissions
|
||||
run: |
|
||||
chown $USER .github/ci*.json
|
||||
chmod 0600 .github/ci*.json
|
||||
|
||||
- name: Run MetricCollector once
|
||||
run: ./cc-metric-collector --once --config .github/ci-config.json
|
||||
|
||||
@ -85,6 +95,11 @@ jobs:
|
||||
- name: Build MetricCollector
|
||||
run: make
|
||||
|
||||
- name: Set config file permissions
|
||||
run: |
|
||||
chown $USER .github/ci*.json
|
||||
chmod 0600 .github/ci*.json
|
||||
|
||||
- name: Run MetricCollector once
|
||||
run: ./cc-metric-collector --once --config .github/ci-config.json
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user