Skip to content

ci(compile): test

ci(compile): test #8

Workflow file for this run

name: Release on Tag
on:
push:
branches:
- main
workflow_dispatch: {}
tags:
- 'v*' # Push events to matching v*, i.e. v1.0
- 'nightly-*'
permissions:
contents: write
jobs:
build-release:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Install dependencies
run: |
sudo apt-get install build-essential intltool libgtk-3-dev gcc g++ -y
- name: Download YAD source
run: |
git clone https://github.com/v1cont/yad
- name: Configure Make
working-directory: ./yad
run: |
autoreconf -ivf && intltoolize
- name: Make
working-directory: ./yad/build
run: |
../configure --enable-standalone && make
- name: Package project
# junk paths remove to recreate the path where is the file inside the zip package
run: zip --junk-paths yad ./yad/build/yad
- name: Create Release
id: create_release
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags')
with:
draft: false
prerelease: false
files: yad.zip