mirror of
https://github.com/2dust/v2rayN.git
synced 2025-08-23 11:26:54 +00:00
Update build-linux.yml
This commit is contained in:
parent
de36629076
commit
9d2d126bed
1 changed files with 22 additions and 22 deletions
8
.github/workflows/build-linux.yml
vendored
8
.github/workflows/build-linux.yml
vendored
|
@ -100,15 +100,15 @@ jobs:
|
||||||
file_glob: true
|
file_glob: true
|
||||||
prerelease: true
|
prerelease: true
|
||||||
|
|
||||||
# release RHEL package
|
# release RHEL package
|
||||||
- name: Package RPM (RHEL-family)
|
- name: Package RPM (RHEL-family)
|
||||||
if: github.event.inputs.release_tag != ''
|
if: github.event.inputs.release_tag != ''
|
||||||
run: |
|
run: |
|
||||||
chmod 755 package-rhel.sh
|
chmod 755 package-rhel.sh
|
||||||
# Build for both x86_64 and aarch64 in one go (explicit version passed; no --buildfrom)
|
# Build for both x86_64 and aarch64 in one go (explicit version passed; no --buildfrom)
|
||||||
./package-rhel.sh "${{ github.event.inputs.release_tag }}" --arch all
|
./package-rhel.sh "${{ github.event.inputs.release_tag }}" --arch all
|
||||||
|
|
||||||
- name: Upload RPM artifacts
|
- name: Upload RPM artifacts
|
||||||
if: github.event.inputs.release_tag != ''
|
if: github.event.inputs.release_tag != ''
|
||||||
uses: actions/upload-artifact@v4.6.2
|
uses: actions/upload-artifact@v4.6.2
|
||||||
with:
|
with:
|
||||||
|
@ -116,7 +116,7 @@ jobs:
|
||||||
path: |
|
path: |
|
||||||
${{ env.HOME }}/rpmbuild/RPMS/**/*.rpm
|
${{ env.HOME }}/rpmbuild/RPMS/**/*.rpm
|
||||||
|
|
||||||
- name: Upload RPMs to release
|
- name: Upload RPMs to release
|
||||||
uses: svenstaro/upload-release-action@v2
|
uses: svenstaro/upload-release-action@v2
|
||||||
if: github.event.inputs.release_tag != ''
|
if: github.event.inputs.release_tag != ''
|
||||||
with:
|
with:
|
||||||
|
|
Loading…
Reference in a new issue