This commit is contained in:
ebner committed 2026-11-10 15:52:41 +01:00
1 parent c2356db99c
commit f205d4a3a4
1 file changed
+7 -4
+7 -4
View File
@@ -75,8 +75,11 @@ jobs:
echo "::notice::Downloading release from $DOWNLOAD_URL ..."
curl -L -o "${{ steps.check_release.outputs.file }}" "$DOWNLOAD_URL"
# move the tar file to the right place
mkdir -p /data/SOURCES/
cp "${{ steps.check_release.outputs.file }}" /data/SOURCES/
tar -xzf "${{ steps.check_release.outputs.file }}" --strip-components=1
find .
- name: Build RPM
if: steps.check_release_exists.outputs.exists != 'true'
@@ -86,9 +89,9 @@ jobs:
VERSION="${VERSION#v}" # remove leading 'v' if present
sed -i "s/^Version:.*/Version: ${VERSION}/" environment-modules.spec
# move the tar file to the right place
mkdir -p /data/SOURCES/
mv "${{ steps.check_release.outputs.file }}" /data/SOURCES/
# # move the tar file to the right place
# mkdir -p /data/SOURCES/
# mv "${{ steps.check_release.outputs.file }}" /data/SOURCES/
rpmbuild -ba environment-modules.spec
find /data/RPMS