Skip to content

Update imagewriter.cpp #163

Update imagewriter.cpp

Update imagewriter.cpp #163

Workflow file for this run

# This is a basic workflow to help you get started with Actions
name: OpenHD Image Writer
# Controls when the workflow will run
on:
push:
branches:
- "2.5-evo"
- "dev-release"
- "release"
- "master"
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ubuntu-20.04
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# 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
run: |
sudo apt update
sudo apt upgrade
sudo apt install -y --no-install-recommends libgnutls28-dev build-essential devscripts debhelper cmake git libarchive-dev libcurl4-openssl-dev qtbase5-dev qtbase5-dev-tools qtdeclarative5-dev libqt5svg5-dev qttools5-dev libssl-dev qml-module-qtquick2 qml-module-qtquick-controls2 qml-module-qtquick-layouts qml-module-qtquick-templates2 qml-module-qtquick-window2 qml-module-qtgraphicaleffects
mkdir build
mv `ls -A | grep -v "build"` build
cd build
debuild -uc -us
cd ..
- name: Upload to Github
uses: 'actions/upload-artifact@v2'
with:
name: "OpenHD Image Writer"
path: |
*.deb
if-no-files-found: error
# - name: Push
# id: push
# uses: cloudsmith-io/action@master
# with:
# api-key: ${{ secrets.CLOUDSMITH_API_KEY }}
# command: "push"
# format: "deb"
# owner: "openhd"
# repo: "openhd-2-3-evo"
# distro: "ubuntu"
# release: "focal"
# republish: "true" # needed ONLY if version is not changing
# file: "*.deb"