Files
gallery/.gitea/workflows/build.yaml
T
shmyga 46dad476c4
test / build (push) Failing after 3m56s
ci(action): add build action
2026-09-24 10:17:08 +03:00

41 lines
1.0 KiB
YAML

name: test
#on:
# push:
# tags:
# - "*"
on: push
jobs:
build:
runs-on: ubuntu-latest
steps:
# repo
- name: Check out repository
uses: actions/checkout@v7
# python
- name: Set up python
id: setup-python
uses: actions/setup-python@v7
with:
python-version: "3.14"
# project-manager
- name: Load cached Project Manager installation
id: cached-project-manager
uses: actions/cache@v5
with:
path: ~/.local
key: project-manager-0 # increment to reset cache
- name: Install Project Manager
if: steps.cached-project-manager.outputs.cache-hit != 'true'
run: |
pipx install project-manager \
-i https://git.shmyga.ru/api/packages/InfernalGames/pypi/simple/ \
--pip-args="--extra-index-url https://pypi.org/simple"
# build
- name: Build docker
run: pm build:docker -vv
# pubish
#- name: Publish docker
# run: pm publish:docker -vv