Skip to content

Commit

Permalink
Merge pull request #120 from pktiuk/release_deb_generation
Browse files Browse the repository at this point in the history
Release deb generation
  • Loading branch information
juliagoda committed Jun 10, 2020
2 parents 0ebd217 + 2de4b99 commit 3cc4be5
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@

name: Release_actions
on: release

jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- name: Install Dependencies
run: sudo apt-get update && sudo apt-get install g++ cmake extra-cmake-modules qttools5-dev qttools5-dev-tools libsdl2-dev libxi-dev libxtst-dev libx11-dev itstool gettext libqt5x11extras5-dev

# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2

# Runs a set of commands using the runners shell
- name: Build deb file
id: create_deb
run: |
mkdir build && cd ./build
cmake ..
cpack
#upload generated files to release
- name: Upload binaries to release
uses: AButler/upload-release-assets@v2.0
with:
files: ./build/*.deb
repo-token: ${{ secrets.GITHUB_TOKEN }}
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@ from [AUR](https://aur.archlinux.org/packages/antimicrox-git/)


#### Building deb package
Already built .deb files are available on [Release Page](https://github.com/juliagoda/antimicroX/releases)

```
cd antimicroX
Expand Down

0 comments on commit 3cc4be5

Please sign in to comment.