update workflows

This commit is contained in:
Vladimir Dubrovin 2026-04-06 19:09:10 +03:00
parent 11ff2692d8
commit be2222adea
2 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
name: RPM build x86-64 name: RPM build arm
on: on:
push: push:
@ -31,7 +31,7 @@ jobs:
sudo dpkg --add-architecture armhf sudo dpkg --add-architecture armhf
echo "Types: deb" >~/armhf.sources echo "Types: deb" >~/armhf.sources
echo "URIs: http://ports.ubuntu.com/ubuntu-ports/" >>~/armhf.sources echo "URIs: http://ports.ubuntu.com/ubuntu-ports/" >>~/armhf.sources
echo "Suites: noble noble-updates noble-security" >>~/armhf.sources echo "Suites: noble noble-updates" >>~/armhf.sources
echo "Components: main restricted universe multiverse" >>~/armhf.sources echo "Components: main restricted universe multiverse" >>~/armhf.sources
echo "Architectures: armhf" >>~/armhf.sources echo "Architectures: armhf" >>~/armhf.sources
echo "Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg" >>~/armhf.sources echo "Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg" >>~/armhf.sources
@ -51,7 +51,7 @@ jobs:
cd ~/rpmbuild/SPECS cd ~/rpmbuild/SPECS
rpmbuild -ba --define "_arch arm" --define "cross yes" --target=arm-linux-gnueabi 3proxy-$RELEASE.spec rpmbuild -ba --define "_arch arm" --define "cross yes" --target=arm-linux-gnueabi 3proxy-$RELEASE.spec
cd $ret cd $ret
mv ~/rpmbuild/RPMS/arm/3proxy-$RELEASE-1.arm.rpm ../3proxy-$RELEASE.arm.rpm mv ~/rpmbuild/RPMS/arm/3proxy-$RELEASE-1.arm.rpm 3proxy-$RELEASE.arm.rpm
- name: Get artifact - name: Get artifact
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
with: with:

View File

@ -42,7 +42,7 @@ jobs:
cd ~/rpmbuild/SPECS cd ~/rpmbuild/SPECS
rpmbuild -ba 3proxy-$RELEASE.spec rpmbuild -ba 3proxy-$RELEASE.spec
cd $ret cd $ret
mv ~/rpmbuild/RPMS/x86_64/3proxy-$RELEASE-1.x86_64.rpm ../3proxy-$RELEASE.x86_64.rpm mv ~/rpmbuild/RPMS/x86_64/3proxy-$RELEASE-1.x86_64.rpm 3proxy-$RELEASE.x86_64.rpm
- name: Get artifact - name: Get artifact
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
with: with: