Skip to content

ci(compile): test

ci(compile): test #11

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
working-directory: ./yad/build
run: ls -l .yad && zip --junk-paths yad ./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/build/yad.zip