Rename COPYING.sql to COPYING #12
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release | |
on: | |
push: | |
# Sequence of patterns matched against refs/tags | |
tags: | |
- "v*" # Push events to matching v*, i.e. v1.0, v20.15.10 | |
jobs: | |
linux: | |
name: Linux AppImages | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Clone Repository | |
uses: actions/checkout@v2 | |
- name: Install .NET 6 | |
uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: '6.0.x' | |
- name: Prepare Environment | |
run: echo "GIT_TAG=${GITHUB_REF#refs/tags/}" >> ${GITHUB_ENV} | |
- name: Package AppImage | |
run: | | |
make engine | |
mkdir -p build/linux | |
./packaging/linux/buildpackage.sh "${GIT_TAG}" "${PWD}/build/linux" | |
- name: Upload Packages | |
uses: svenstaro/upload-release-action@v2 | |
with: | |
repo_token: ${{ secrets.GITHUB_TOKEN }} | |
tag: ${{ github.ref }} | |
prerelease: true | |
overwrite: true | |
file_glob: true | |
file: build/linux/* | |
macos: | |
name: macOS Disk Images | |
runs-on: macos-11 | |
steps: | |
- name: Clone Repository | |
uses: actions/checkout@v2 | |
- name: Install .NET 6 | |
uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: '6.0.x' | |
- name: Prepare Environment | |
run: echo "GIT_TAG=${GITHUB_REF#refs/tags/}" >> ${GITHUB_ENV} | |
- name: Package Disk Images | |
env: | |
MACOS_DEVELOPER_IDENTITY: ${{ secrets.MACOS_DEVELOPER_IDENTITY }} | |
MACOS_DEVELOPER_CERTIFICATE_BASE64: ${{ secrets.MACOS_DEVELOPER_CERTIFICATE_BASE64 }} | |
MACOS_DEVELOPER_CERTIFICATE_PASSWORD: ${{ secrets.MACOS_DEVELOPER_CERTIFICATE_PASSWORD }} | |
MACOS_DEVELOPER_USERNAME: ${{ secrets.MACOS_DEVELOPER_USERNAME }} | |
MACOS_DEVELOPER_PASSWORD: ${{ secrets.MACOS_DEVELOPER_PASSWORD }} | |
run: | | |
make engine | |
mkdir -p build/macos | |
./packaging/macos/buildpackage.sh "${GIT_TAG}" "${PWD}/build/macos" | |
- name: Upload Packages | |
uses: svenstaro/upload-release-action@v2 | |
with: | |
repo_token: ${{ secrets.GITHUB_TOKEN }} | |
tag: ${{ github.ref }} | |
prerelease: true | |
overwrite: true | |
file_glob: true | |
file: build/macos/* | |
windows: | |
name: Windows Installers | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Clone Repository | |
uses: actions/checkout@v2 | |
- name: Install .NET 6 | |
uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: '6.0.x' | |
- name: Prepare Environment | |
run: | | |
echo "GIT_TAG=${GITHUB_REF#refs/tags/}" >> ${GITHUB_ENV} | |
sudo apt-get update | |
sudo apt-get install nsis wine64 | |
- name: Package Installers | |
run: | | |
make engine | |
mkdir -p build/windows | |
./packaging/windows/buildpackage.sh "${GIT_TAG}" "${PWD}/build/windows" | |
- name: Upload Packages | |
uses: svenstaro/upload-release-action@v2 | |
with: | |
repo_token: ${{ secrets.GITHUB_TOKEN }} | |
tag: ${{ github.ref }} | |
prerelease: true | |
overwrite: true | |
file_glob: true | |
file: build/windows/* |