Skip to content

Update c-cpp.yml

Update c-cpp.yml #5

Workflow file for this run

name: Build and Release
on:
push:
jobs:
build:
runs-on: ubuntu-latest
container:
image: ghcr.io/crazyquark/qt6-base:6.7.0-ubuntu
options: --user 1001
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Build with qmake and make
run: |
qmake
make
- name: Archive build
run: |
mkdir -p dist
cp <your_binary> dist/
cp README.md dist/
cd dist
tar -czvf ../MasterStringz.tar.gz *
- name: Create Release
uses: softprops/action-gh-release@v2
with:
files: MasterStringz.tar.gz
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}