more work on build

This commit is contained in:
Joel Klimont 2022-10-06 18:16:49 +02:00
parent aa39f44f71
commit c224411279
3 changed files with 45 additions and 6 deletions

View file

@ -43,3 +43,20 @@ jobs:
ref: 'refs/tags/v${{steps.next_semantic_version.outputs.version}}',
sha: context.sha
})
- name: Install fpm
run: apk add ruby && gem install fpm
- name: Build complib deb Package
env:
VERSION: v${{steps.next_semantic_version.outputs.version}}
run: bash ./build.sh # creates packages in "output" directory
- name: Pushes to another repository
uses: cpina/github-action-push-to-another-repository@main
env:
API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB }}
with:
source-directory: 'output'
target-directory: 'debs/complib/'
destination-github-username: 'F-WuTS'
destination-repository-name: 'compREP-dev'
user-email: joel.klimont@comp-air.at
target-branch: master