Skip to content

Fix release workflows for artifact upload and glibc #3

Fix release workflows for artifact upload and glibc

Fix release workflows for artifact upload and glibc #3

Workflow file for this run

name: Release
on:
push:
tags:
- "v*"
jobs:
build-release:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Build binary
run: |
python -m pip install --upgrade pip
scripts/build.sh
mv dist/pidpal dist/pidpal-linux-x86_64
- name: Smoke test binary on Linux containers
run: |
docker run --rm -v "$PWD/dist:/dist:ro" debian:stable-slim /dist/pidpal-linux-x86_64 --version
docker run --rm -v "$PWD/dist:/dist:ro" fedora:latest /dist/pidpal-linux-x86_64 --version
- name: Create GitHub release
uses: softprops/action-gh-release@a06a81a03ee405af7f2048a818ed3f03bbf83c7b # v2
with:
files: dist/pidpal-linux-x86_64