Skip to content

Commit

Permalink
update ci
Browse files Browse the repository at this point in the history
  • Loading branch information
kreatoo authored Aug 9, 2023
1 parent f3f7d4d commit 3e4b77d
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,27 +13,38 @@ jobs:
build:
# The type of runner that the job will run on
runs-on: self-hosted
timeout-minutes: 2880

steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v3

# Runs a single command using the runners shell
- name: main
- name: Check all packages against Repology
run: |
export DOCKER_DEFAULT_PLATFORM=linux/amd64
rm -rf src
git clone https://github.com/kreatolinux/src
cd src
make deps
make chkupd
mv src/chkupd/jsontomd.sh /tmp/
mv scripts/jsontomd.sh /tmp/
mv out/chkupd /tmp/
cd ..
rm -rf src
cd /tmp/
./chkupd checkAll --jsonPath=/tmp/chkupd.json --repo="$GITHUB_WORKSPACE"
bash jsontomd.sh /tmp/chkupd.json > /tmp/chkupd.md
- name: Check all packages against Arch Repositories
run: |
export DOCKER_DEFAULT_PLATFORM=linux/amd64
cd /tmp/
./chkupd checkAll --jsonPath=/tmp/chkupd.json --backend="arch" --repo="$GITHUB_WORKSPACE"
echo "# Arch check results" >> /tmp/chkupd.md
bash jsontomd.sh /tmp/chkupd.json >> /tmp/chkupd.md
rm -rf chkupd jsontomd.sh


- name: Create Pull Request
Expand Down

0 comments on commit 3e4b77d

Please sign in to comment.