Skip to content

Release

Release #32

Workflow file for this run

# Packaging and Releasing the Tools-oss-cad-suite apio package
name: Release
# Manual activation
on: [workflow_dispatch]
jobs:
# -- Building Linux_x86_64
# -- It creates the package tools-oss-cad-suite-linux-x86-64-20210627.tar.gz
build-Linux_x86_64:
runs-on: ubuntu-22.04
steps:
# -- Checkout the repo
- name: Checkout!
uses: actions/checkout@v4
# -- Build the package for LINUX - x64
- name: Build Script (Linux_x86_64)
run: |
./build.sh linux_x86_64
version=$(cat VERSION_BUILD)
echo "VERSION: $version"
echo "VERSION=$version" >> $GITHUB_ENV
# -- Build the package for LINUX - ARM
- name: Build Script (Linux_aarch64)
run: |
./build.sh linux_aarch64
# -- Build the package for MAC
- name: Build Script (MAC)
run: |
./build.sh darwin
# -- Build the package for MAC
- name: Build Script (MAC ARM64)
run: |
./build.sh darwin_arm64
# -- Build the package for WINDOWS
- name: Build Script (Windows_amd64)
run: |
./build.sh windows_amd64
#-- Create the Release and upload files
- name: Create the Release and upload files
id: create_release
uses: softprops/action-gh-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
draft: true
prerelease: false
tag_name: v${{ env.VERSION }}
body: A new release (Draft)
files: |
_packages/tools-oss-cad-suite-linux_x86_64-${{ env.VERSION }}.tar.gz
_packages/tools-oss-cad-suite-linux_aarch64-${{ env.VERSION }}.tar.gz
_packages/tools-oss-cad-suite-darwin-${{ env.VERSION }}.tar.gz
_packages/tools-oss-cad-suite-darwin_arm64-${{ env.VERSION }}.tar.gz
_packages/tools-oss-cad-suite-windows_amd64-${{ env.VERSION }}.tar.gz