Skip to content

window build

window build #9

Workflow file for this run

# name: Build Linux
# on:
# release:
# types: [published]
# permissions:
# contents: write
# jobs:
# build:
# runs-on: ubuntu-latest
# steps:
# - name: Update dependencies
# run: sudo apt-get update
# - name: Install specific dependencies
# run: sudo apt install gcc pkg-config libwayland-dev libx11-dev libx11-xcb-dev libxkbcommon-x11-dev libgles2-mesa-dev libegl1-mesa-dev libffi-dev libxcursor-dev libvulkan-dev
# - name: Checkout repo
# uses: actions/checkout@v4
# - name: Setup Go
# uses: actions/setup-go@v4
# with:
# go-version: 1.22.1
# - name: Update Version in chapar.desktop
# run: |
# VERSION=${{ github.event.release.tag_name }}
# sed -i "s/^Version=.*/Version=${VERSION:1}/" build/desktop-assets/chapar.desktop
# - name: Build linux amd64
# run: make build_linux
# - name: Upload Release Asset
# run: |
# gh release upload ${{github.event.release.tag_name}} ./dist/chapar-linux-${{ github.ref_name }}-amd64.tar.xz
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# shell: bash