more work on build
This commit is contained in:
parent
aa39f44f71
commit
c224411279
3 changed files with 45 additions and 6 deletions
17
.github/workflows/complib-package.yml
vendored
17
.github/workflows/complib-package.yml
vendored
|
@ -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
|
||||
|
|
Reference in a new issue