test1
Build and Publish RPM / build-and-publish (push) Failing after 1s

This commit is contained in:
2025-10-02 17:06:36 +02:00
parent 608e6ea0aa
commit a9758eaca1
2 changed files with 7 additions and 12 deletions
+7 -5
View File
@@ -20,17 +20,19 @@ jobs:
- name: Build RPM
run: |
mkdir SOURCES
# spectool -g -R Pmodules.spec
# rpmbuild -ba Pmodules.spec
# spectool -g -R Pmodules_modules.spec
# rpmbuild -ba Pmodules_modules.spec
curl -L -H "Authorization: token ${{ secrets.ACCESSKEY }}" -o SOURCES/modules-3.2.10.2.tar.gz "https://gitea.psi.ch/Pmodules/modules/archive/modules-3.2.10.2.tar.gz"
rpmbuild -ba Pmodules_modules.spec
# spectool -g -R Pmodules_bash.spec
mkdir SOURCES
curl -L -H "Authorization: token ${{ secrets.ACCESSKEY }}" -o SOURCES/bash-5.2.37.tar.gz "https://gitea.psi.ch/Pmodules/bash/archive/bash-5.2.37.tar.gz"
dnf -y builddep Pmodules_bash.spec
rpmbuild -ba Pmodules_bash.spec
# curl -L -H "Authorization: token ${{ secrets.ACCESSKEY }}" -o SOURCES/bash-5.2.37.tar.gz "https://gitea.psi.ch/Pmodules/bash/archive/bash-5.2.37.tar.gz"
# dnf -y builddep Pmodules_bash.spec
# rpmbuild -ba Pmodules_bash.spec
# list generated rpms
find RPMS
-7
View File
@@ -25,13 +25,6 @@ incorporates useful features from the Korn shell (ksh) and the C shell
(csh). Most sh scripts can be run by bash without modification.
%prep
token=${ACCESSKEY:-}
if [ -n "$token" ]; then
curl -L \
-H "Authorization: token $token" \
-o %{_topdir}/SOURCES/bash-%{version}.tar.gz \
"https://gitea.psi.ch/Pmodules/bash/archive/bash-%{version}.tar.gz"
fi
%setup -q -n bash-%{version}
%build