mirror of
https://github.com/pyTooling/Actions.git
synced 2026-02-12 02:56:56 +08:00
Create tar files with userid=0 and groupid=0.
This commit is contained in:
8
.github/workflows/NightlyRelease.yml
vendored
8
.github/workflows/NightlyRelease.yml
vendored
@@ -311,14 +311,14 @@ jobs:
|
|||||||
asset="${asset##*$}"
|
asset="${asset##*$}"
|
||||||
dirName="${asset%.*}"
|
dirName="${asset%.*}"
|
||||||
echo " Compressing artifact '${artifact}' to '${asset}' ..."
|
echo " Compressing artifact '${artifact}' to '${asset}' ..."
|
||||||
tar -c --gzip --file="${asset}" --directory="${artifact}" --transform "s|^\.|${dirName%.tar}|" .
|
tar -c --gzip --owner=0 --group=0 --file="${asset}" --directory="${artifact}" --transform "s|^\.|${dirName%.tar}|" .
|
||||||
retCode=$?
|
retCode=$?
|
||||||
else
|
else
|
||||||
asset="${asset##*!}"
|
asset="${asset##*!}"
|
||||||
echo " Compressing artifact '${artifact}' to '${asset}' ..."
|
echo " Compressing artifact '${artifact}' to '${asset}' ..."
|
||||||
(
|
(
|
||||||
cd "${artifact}" && \
|
cd "${artifact}" && \
|
||||||
tar -c --gzip --file="../${asset}" *
|
tar -c --gzip --owner=0 --group=0 --file="../${asset}" *
|
||||||
)
|
)
|
||||||
retCode=$?
|
retCode=$?
|
||||||
fi
|
fi
|
||||||
@@ -340,14 +340,14 @@ jobs:
|
|||||||
asset="${asset##*$}"
|
asset="${asset##*$}"
|
||||||
dirName="${asset%.*}"
|
dirName="${asset%.*}"
|
||||||
echo " Compressing artifact '${artifact}' to '${asset}' ..."
|
echo " Compressing artifact '${artifact}' to '${asset}' ..."
|
||||||
tar -c --zstd --file="${asset}" --directory="${artifact}" --transform "s|^\.|${dirName%.tar}|" .
|
tar -c --zstd --owner=0 --group=0 --file="${asset}" --directory="${artifact}" --transform "s|^\.|${dirName%.tar}|" .
|
||||||
retCode=$?
|
retCode=$?
|
||||||
else
|
else
|
||||||
asset="${asset##*!}"
|
asset="${asset##*!}"
|
||||||
echo " Compressing artifact '${artifact}' to '${asset}' ..."
|
echo " Compressing artifact '${artifact}' to '${asset}' ..."
|
||||||
(
|
(
|
||||||
cd "${artifact}" && \
|
cd "${artifact}" && \
|
||||||
tar -c --zstd --file="../${asset}" *
|
tar -c --zstd --owner=0 --group=0 --file="../${asset}" *
|
||||||
)
|
)
|
||||||
retCode=$?
|
retCode=$?
|
||||||
fi
|
fi
|
||||||
|
|||||||
2
.github/workflows/PublishCoverageResults.yml
vendored
2
.github/workflows/PublishCoverageResults.yml
vendored
@@ -31,7 +31,7 @@ on:
|
|||||||
type: string
|
type: string
|
||||||
coverage_artifacts_pattern:
|
coverage_artifacts_pattern:
|
||||||
required: false
|
required: false
|
||||||
default: '*-CodeCoverage-*'
|
default: '*-CodeCoverage-SQLite-*'
|
||||||
type: string
|
type: string
|
||||||
coverage_config:
|
coverage_config:
|
||||||
description: 'Path to the .coveragerc file. Use pyproject.toml by default.'
|
description: 'Path to the .coveragerc file. Use pyproject.toml by default.'
|
||||||
|
|||||||
2
.github/workflows/PublishTestResults.yml
vendored
2
.github/workflows/PublishTestResults.yml
vendored
@@ -32,7 +32,7 @@ on:
|
|||||||
type: string
|
type: string
|
||||||
unittest_artifacts_pattern:
|
unittest_artifacts_pattern:
|
||||||
required: false
|
required: false
|
||||||
default: '*-UnitTestReportSummary-*'
|
default: '*-UnitTestReportSummary-XML-*'
|
||||||
type: string
|
type: string
|
||||||
merged_junit_artifact:
|
merged_junit_artifact:
|
||||||
description: 'Name of the merged JUnit Test Summary artifact.'
|
description: 'Name of the merged JUnit Test Summary artifact.'
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ docutils_stubs ~= 0.0.22
|
|||||||
sphinx_rtd_theme ~= 3.0
|
sphinx_rtd_theme ~= 3.0
|
||||||
|
|
||||||
# Sphinx Extenstions
|
# Sphinx Extenstions
|
||||||
sphinxcontrib-mermaid>=0.9.2
|
sphinxcontrib-mermaid ~= 1.0
|
||||||
autoapi >= 2.0.1
|
autoapi >= 2.0.1
|
||||||
sphinx_design ~= 0.6.1
|
sphinx_design ~= 0.6.1
|
||||||
sphinx-copybutton >= 0.5.2
|
sphinx-copybutton >= 0.5.2
|
||||||
|
|||||||
Reference in New Issue
Block a user