Publish trunk release

Signed-off-by: Vasyl Gello <vasek.gello@gmail.com>
This commit is contained in:
Vasyl Gello 2024-01-07 13:13:28 +02:00
parent bd89731800
commit c54a3add79

View file

@ -3,7 +3,6 @@ name: Trunk build
on: on:
push: push:
branch: develop branch: develop
workflow_dispatch:
concurrency: concurrency:
group: ${{ github.workflow }}-${{ github.ref }} group: ${{ github.workflow }}-${{ github.ref }}
@ -14,7 +13,7 @@ jobs:
strategy: strategy:
fail-fast: false fail-fast: false
name: Build Windows/Linux/MacOS/FreeBSD name: Build Windows/Linux/MacOS/FreeBSD/Android
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
steps: steps:
@ -70,9 +69,11 @@ jobs:
#GOOS=ios GOARCH=arm64 CC=$(go env GOROOT)/misc/ios/clangwrap.sh ./build ; mv yggstack yggstack-ios-arm64 #GOOS=ios GOARCH=arm64 CC=$(go env GOROOT)/misc/ios/clangwrap.sh ./build ; mv yggstack yggstack-ios-arm64
#GOOS=ios GOARCH=amd64 CC=$(go env GOROOT)/misc/ios/clangwrap.sh ./build ; mv yggstack yggstack-ios-amd64 #GOOS=ios GOARCH=amd64 CC=$(go env GOROOT)/misc/ios/clangwrap.sh ./build ; mv yggstack yggstack-ios-amd64
- name: Upload artifacts
uses: actions/upload-artifact@v3 - name: Publish Trunk release
uses: softprops/action-gh-release@v1
with: with:
name: Build static executables prerelease: true
path: "yggstack-*" tag_name: "trunk"
if-no-files-found: error files: |
yggstack-*