Skip to content

generate Arch Linux PKGBUILD files for kodi pvr addons #749

generate Arch Linux PKGBUILD files for kodi pvr addons

generate Arch Linux PKGBUILD files for kodi pvr addons #749

Workflow file for this run

name: generate Arch Linux PKGBUILD files for kodi pvr addons
on:
workflow_dispatch:
schedule:
- cron: '0 0 * * *'
push:
branches:
- master
jobs:
update:
runs-on: ubuntu-latest
steps:
- name: set variables
run: |
echo "UPDATE_TIME=$(date +%Y-%m-%d)" >> $GITHUB_ENV
- name: prepare scripts
uses: actions/checkout@v2
with:
ref: master
- name: generate PKGBUILD
run: |
bash gen-pvr-pkgbuild.sh
- name: add license
run: |
curl -sLo release/LICENSE https://www.gnu.org/licenses/gpl-3.0.txt
- name: add workflow
run: |
mkdir -p release/.github/workflows
cp workflow.yml release/.github/workflows/main.yml
- name: push release
uses: s0/git-publish-subdir-action@develop
env:
REPO: self
BRANCH: release
FOLDER: release
GITHUB_TOKEN: ${{ secrets.WORKFLOW_TOKEN }}
MESSAGE: auto update at ${{ env.UPDATE_TIME }}