Skip to content

added action for release #1

added action for release

added action for release #1

Workflow file for this run

# release package
name: Main
on:
workflow_dispatch:
push:
tags:
- "v*.*.*"
jobs:
build-binaries:
runs-on: ubuntu-latest
strategy:
matrix:
arch: [x64,arm64]
platform: [linux,macos]
#exclude:
# - arch: arm64
# platform: windows
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up QEMU
if: matrix.arch == 'arm64'
uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Build using Docker
uses: docker buildx build --build-arg CLI_TARGET=node18-${{ matrix.platform }}-${{ matrix.arch }} -f Dockerfile.cli --target=cli --output=type=local,dest=./preevy-bin --progress=plain --platform=linux/${{ matrix.arch == 'x64' && 'amd64' || matrix.arch }} .
- name: Upload artificats
uses: actions/upload-artifact@v3
with:
path: ./preevy-bin/**
permissions:
contents: write