fix(webkitgtk): added #23
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release on Tag | |
on: | |
push: | |
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++ libwebkitgtk-6.0-dev -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 -j16 | |
- name: Download packelf tool | |
run: | | |
git clone https://github.com/mte90/packelf | |
./packelf/packelf.sh ./yad/build/src/yad ./yad-static-build | |
ls -l | |
- name: Package project | |
run: | | |
zip --junk-paths yad ./yad-static-build | |
- name: Create Release | |
uses: softprops/action-gh-release@v2 | |
if: startsWith(github.ref, 'refs/tags') | |
with: | |
draft: false | |
prerelease: false | |
files: ./yad.zip |