Build / Desktop, server and tools (push) Successful in 1m7s
The first screen (online or not, a Check button, every language with a draft notice), the desktop and Android heads, the server's /api/info and /api/ip, a release tool that builds deb, rpm, a Windows exe, macOS zips, a signed APK and the server, and the Gitea workflows that run it. Rules adapted from passolo; AGPL-3.0. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012CzABvBkbcFqoHdmi8b9WB
40 lines
1.1 KiB
YAML
40 lines
1.1 KiB
YAML
name: Release
|
|
|
|
on:
|
|
push:
|
|
tags:
|
|
- 'v*'
|
|
workflow_dispatch:
|
|
inputs:
|
|
publish:
|
|
description: "Create the Gitea release too (false builds every platform and deploys the server only)"
|
|
default: "false"
|
|
|
|
jobs:
|
|
release:
|
|
name: Every platform, the server, the release
|
|
runs-on: nuvola
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Prepare
|
|
run: .gitea/scripts/prepare.sh
|
|
|
|
- name: Linux, Windows, macOS and the server
|
|
run: tools/release.sh linux windows macos server --commit "$COMMIT"
|
|
|
|
- name: Android, signed
|
|
env:
|
|
MEWEB_KEYSTORE_B64: ${{ secrets.MEWEB_KEYSTORE_B64 }}
|
|
MEWEB_KEYSTORE_PASS: ${{ secrets.MEWEB_KEYSTORE_PASS }}
|
|
run: .gitea/scripts/android.sh
|
|
|
|
- name: Deploy the server
|
|
run: .gitea/scripts/deploy-server.sh "releases/$VERSION/MeWeb-Server-$VERSION-linux-x64.tar.gz"
|
|
|
|
- name: Publish the release
|
|
if: ${{ github.ref_type == 'tag' || inputs.publish == 'true' }}
|
|
env:
|
|
RELEASE_TOKEN: ${{ secrets.GITEA_TOKEN }}
|
|
run: .gitea/scripts/release.sh "v$VERSION" releases/"$VERSION"/*
|