alt-wf 14
This commit is contained in:
parent
c665ce0aaf
commit
b9e68f295e
@ -50,16 +50,16 @@ jobs:
|
|||||||
chown -R builder /builder/*
|
chown -R builder /builder/*
|
||||||
- name: Building binary and source RPM
|
- name: Building binary and source RPM
|
||||||
run: |
|
run: |
|
||||||
su - builder -c 'rpmbuild -bb ${{ env.GITHUB_WORKSPACE }}/../bforce.spec --define "_topdir ${{ env.GITHUB_WORKSPACE }}/rpmbuild"'
|
su - builder -c 'rpmbuild -bb /builder/bforce.spec --define "_topdir /builder/rpmbuild"'
|
||||||
- name: Constructing artifact name and version
|
- name: Constructing artifact name and version
|
||||||
run: |
|
run: |
|
||||||
echo "BFORCE_VER=$(cat /builder/src/bforce/source/.version)-$(date +%Y%M%d)" >> $GITHUB_ENV
|
echo "BFORCE_VERLONG=$(cat ${{ env.GITHUB_WORKSPACE }}/source/.version)-$(date +%Y%M%d)" >> $GITHUB_ENV
|
||||||
- name: Retrieving artifact files
|
- name: Retrieving artifact files
|
||||||
run: mkdir bforce && cp /builder/bforce-*.pkg.tar.zst bforce
|
run: mkdir bforce && cp /builder/rpmbuild/RPMS/bforce-*.rpm bforce
|
||||||
- name: Try to upload artifacts bin
|
- name: Try to upload artifacts bin
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: bforce-${{ env.BFORCE_VER }}-Arch
|
name: bforce-${{ env.BFORCE_VERLONG }}-Arch
|
||||||
path: /builder/rpmbuild/RPMS
|
path: /builder/rpmbuild/RPMS
|
||||||
- name: Echo OK
|
- name: Echo OK
|
||||||
run: echo "All OK"
|
run: echo "All OK"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user