Skip to content

actions: add exectuable release #10

actions: add exectuable release

actions: add exectuable release #10

Workflow file for this run

name: build-and-release
on:
push:
tags:
- 'v*'
permissions:
contents: write
jobs:
build:
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build
run: ./build.sh
- name: Package
run: |
mv bin/libscreen_sharing.dylib "bin/libscreen_sharing-${GITHUB_REF_NAME}.dylib"
mv bin/screen_sharing "bin/screen_sharing-${GITHUB_REF_NAME}"
- name: Release
uses: softprops/action-gh-release@v2
with:
files: |
bin/screen_sharing-${{ github.ref_name }}
bin/libscreen_sharing-${{ github.ref_name }}.dylib
name: ${{ github.ref_name }}
generate_release_notes: true