Package update from https://github.com/royarg02/royarg-repo-pkgbuilds… #95
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build database | |
on: | |
push: | |
branches: | |
- master | |
paths: | |
- 'static/os/**' | |
jobs: | |
build-database: | |
runs-on: ubuntu-latest | |
container: | |
image: archlinux/archlinux:base-devel | |
steps: | |
- name: Update container image | |
run: pacman -Syu --noconfirm | |
- name: Install git | |
run: pacman -S --needed --noconfirm git | |
- name: Checkout | |
uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 | |
- name: Import GPG key for signing database | |
uses: crazy-max/ghaction-import-gpg@01dd5d3ca463c7f10f7f4f7b4f177225ac661ee4 | |
with: | |
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }} | |
passphrase: ${{ secrets.GPG_PASSPHRASE }} | |
- name: Add workspace to ownership exception | |
run: git config --global --add safe.directory /__w/royarg-repo/royarg-repo | |
- name: Run database build script | |
run: ./build-db.sh | |
- name: Add & Commit new files | |
uses: EndBug/add-and-commit@a94899bca583c204427a224a7af87c02f9b325d5 | |
with: | |
default_author: github_actions | |
message: 'Update database' | |