pika-debian-bleedingedge/.github/workflows/gen-apt-config.yml
Workflow config file is invalid. Please check your config file: yaml: line 19: mapping values are not allowed in this context
Ward from fusion-voyager-3 dc0b2a79ae idk
2024-07-15 15:52:25 +03:00

29 lines
947 B
YAML

name: Generate and commit apt configs
on:
workflow_dispatch
jobs:
build:
runs-on: self-hosted
container:
image: ghcr.io/pikaos-linux/pika-base-debian-container:latest
volumes:
- /proc:/proc
options: --privileged -it
steps:
- uses: actions/checkout@v3
- name: Update apt cache
run: echo -e "Package: *\nPin: release a=experimental\nPin-Priority: 600" > /etc/apt/preferences.d/0-pika-debian-settings
- name: Update apt cache
run: apt-get update -y
- name: Generate apt pin and json files
run: ./gen-apt-config.py
- name: Setup git and push
run: git config --global user.name 'Github Workflow Action' && git config --global user.email 'hotrod.master@hotmail.com' && git config --global --add safe.directory /__w/pika-base-debian-container/pika-base-debian-container && git add . && git commit -am"Commited by GH Action - gen-apt-config.yml" && git push