This commit is contained in:
parent
dc0b2a79ae
commit
8a67048978
8
.github/workflows/gen-apt-config.yml
vendored
8
.github/workflows/gen-apt-config.yml
vendored
@ -15,14 +15,8 @@ jobs:
|
||||
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
|
||||
run: ./gen-apt-config.sh
|
||||
|
||||
- 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
|
||||
|
4
gen-apt-config.sh
Normal file
4
gen-apt-config.sh
Normal file
@ -0,0 +1,4 @@
|
||||
#! /bin/bash
|
||||
echo -e "Package: *\nPin: release a=experimental\nPin-Priority: 600" > /etc/apt/preferences.d/0-pika-debian-settings
|
||||
apt-get update -y
|
||||
./gen-apt-config.py
|
Loading…
Reference in New Issue
Block a user