Added fail2ban filters, fx package naming, ver up
This commit is contained in:
@@ -16,8 +16,8 @@ jobs:
|
||||
- name: Checking environment
|
||||
continue-on-error: true
|
||||
run: printenv
|
||||
## - name: Installing prerequisites - update apt
|
||||
## run: apt-get update
|
||||
- name: Installing prerequisites - update apt
|
||||
run: apt-get update
|
||||
## - name: Installing prerequisites - install nodejs for actions & git
|
||||
## run: apt-get install -y git nodejs su
|
||||
## - name: Installing build environment
|
||||
@@ -54,7 +54,7 @@ jobs:
|
||||
su - builder -c 'rpmbuild -bb /builder/bforce.spec --define "_topdir /builder/rpmbuild"'
|
||||
- name: Constructing artifact name and version
|
||||
run: |
|
||||
echo "BFORCE_VERLONG=$(cat ${{ env.GITHUB_WORKSPACE }}/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
|
||||
run: mkdir bforce && cp /builder/rpmbuild/RPMS/x86_64/bforce-*.rpm bforce
|
||||
- name: Try to upload artifacts bin
|
||||
|
||||
@@ -32,7 +32,7 @@ jobs:
|
||||
su - builder -c "ls -la"
|
||||
- name: Constructing artifact name and version
|
||||
run: |
|
||||
echo "BFORCE_VER=$(cat /builder/src/bforce/source/.version)-$(date +%Y%M%d)" >> $GITHUB_ENV
|
||||
echo "BFORCE_VER=$(cat /builder/src/bforce/source/.version)-$(date +%Y%m%d)" >> $GITHUB_ENV
|
||||
- name: Retrieving artifact files
|
||||
run: mkdir bforce && cp /builder/bforce-*.pkg.tar.zst bforce
|
||||
- name: Try to upload artifacts
|
||||
@@ -59,7 +59,7 @@ jobs:
|
||||
uses: actions/checkout@v3
|
||||
- name: Constructing artifact name and version
|
||||
run: |
|
||||
echo "BFORCE_VER=$(cat ${{ github.workspace }}/source/.version)-$(date +%Y%M%d)" >> $GITHUB_ENV
|
||||
echo "BFORCE_VER=$(cat ${{ github.workspace }}/source/.version)-$(date +%Y%m%d)" >> $GITHUB_ENV
|
||||
- uses: actions/download-artifact@v3
|
||||
with:
|
||||
name: bforce-${{ env.BFORCE_VER }}-Arch
|
||||
|
||||
@@ -29,7 +29,7 @@ jobs:
|
||||
uses: actions/checkout@v4
|
||||
- name: Getting version info
|
||||
run: |
|
||||
echo "BFORCE_VER=$(cat ${{ env.GITHUB_WORKSPACE }}/source/.version)-$(date +%Y%M%d)" >> $GITHUB_ENV
|
||||
echo "BFORCE_VER=$(cat ${{ env.GITHUB_WORKSPACE }}/source/.version)-$(date +%Y%m%d)" >> $GITHUB_ENV
|
||||
- name: Building package
|
||||
continue-on-error: false
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user