Skip to content

build: add release aliases and package publication workflows #1

build: add release aliases and package publication workflows

build: add release aliases and package publication workflows #1

Workflow file for this run

name: Release
on:
push:
tags:
- "v*"
workflow_dispatch:
jobs:
package-linux:
runs-on: ubuntu-24.04
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- name: Checkout icey
uses: actions/checkout@v4
with:
repository: nilstate/icey
path: icey
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y \
gcc-13 g++-13 \
cmake \
dpkg-dev \
libssl-dev \
libavcodec-dev libavformat-dev libavutil-dev libswscale-dev libswresample-dev \
unzip zip
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 22
cache: npm
cache-dependency-path: web/package-lock.json
- name: Build release package
env:
CC: gcc-13
CXX: g++-13
ICEY_SOURCE_DIR: ${{ github.workspace }}/icey
BUILD_DIR: ${{ github.workspace }}/build-release
run: ./scripts/package-manager-check.sh
- name: Upload release assets
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
icey-cli-*-source.tar.gz
icey-*-source.tar.gz
icey-server-*-Linux-x86_64.tar.gz
icey-server-*-Linux-x86_64.zip
icey-server-Linux-x86_64.tar.gz
icey-server-Linux-x86_64.zip
icey-server_*.deb
icey-server-apt-repo-*.tar.gz
- name: Upload manifest bundle
uses: actions/upload-artifact@v4
with:
name: icey-server-package-managers
path: |
.stage/package-managers/rendered/**