@@ -0,0 +1,41 @@
|
||||
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"
|
||||
cache: "pip"
|
||||
# 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: |
|
||||
python3.14 -m pip install project-manager \
|
||||
--index-url https://git.shmyga.ru/api/packages/InfernalGames/pypi/simple/ \
|
||||
--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
|
||||
Reference in New Issue
Block a user