pika-debian-bleedingedge/.github/workflows/gen-apt-config.yml

26 lines
799 B
YAML
Raw Normal View History

2024-07-15 13:55:56 +02:00
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: apt-get update -y
2024-07-15 13:57:49 +02:00
- name: Generate apt pin and json files
run: ./gen-apt-config.py
2024-07-15 13:55:56 +02:00
- name: Setup git and push
2024-07-15 13:58:41 +02:00
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/debian-workaround-packages-repo/debian-workaround-packages-repo && git add . && git commit -am"Commited by GH Action - gen-apt-config.yml" && git push