feature test
Some checks failed
Build packages / build (v2ray) (push) Failing after 25s

This commit is contained in:
paltovkone
2026-03-07 22:38:58 +04:00
parent 4f6a2d4652
commit 529ecc43fa

View File

@ -1,21 +1,35 @@
name: Build packages name: Build packages
on: on:
push:
branches: [main]
workflow_dispatch: workflow_dispatch:
inputs: inputs:
package: package:
description: 'Package name' description: 'Package name (leave empty for all)'
required: true required: false
jobs: jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
container:
image: ubuntu:24.04
strategy:
matrix:
package: [v2ray] # просто добавляешь сюда новые пакеты
fail-fast: false
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Build and publish
env: - name: Skip if not needed
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }} id: check
run: | run: |
docker info || echo "NO DOCKER" if [ -n "${{ github.event.inputs.package }}" ] && \
make -C ${{ github.event.inputs.package }} fetch [ "${{ github.event.inputs.package }}" != "${{ matrix.package }}" ]; then
make -C ${{ github.event.inputs.package }} build publish echo "SKIP=true" >> $GITHUB_ENV
fi
- name: Build and publish
if: env.SKIP != 'true'
run: |
echo "Building ${{ matrix.package }}"