Skip to content
This repository has been archived by the owner on Aug 31, 2020. It is now read-only.

Release deb generation #120

Merged
merged 3 commits into from
Jun 10, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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