Create main.yml

test adding action to verify theme zip files match with what is expected in themes.json
This commit is contained in:
julian-CStack 2023-05-18 15:07:02 -06:00 committed by GitHub
parent 5039b621e7
commit 7a2107a7bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

20
.github/workflows/main.yml vendored Normal file
View File

@ -0,0 +1,20 @@
#should deny
name: Verify
on: [pull_request]
jobs:
test:
runs-on: ubuntu-20.04
steps:
- name: Prepare repository
uses: actions/checkout@v3
- name: Install dependencies
run: |
sudo apt install -y unzip jq
- name: Run verify script
run: |
bash scripts/verify.sh
if [ $? -eq 1 ]; then
exit 1
fi