Skip to content

BUILD

BUILD #11038

Workflow file for this run

name: BUILD
on:
push:
schedule:
- cron: '1 */8 * * *'
jobs:
buildAUR:
strategy:
matrix:
repos: [osu-lazer, weechat-notify-send, fpp, redsocks, git-cola, realesrgan-ncnn-vulkan, python-torchaudio, python-torchinfo]
include:
- repos: git-cola
preinstall-pkgs: "at-spi2-core"
- repos: realesrgan-ncnn-vulkan
preinstall-pkgs: "vulkan-intel"
fail-fast: false
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./build-aur-action
with:
repo-name: ${{ matrix.repos }}
preinstallPkgs: ${{ matrix.preinstall-pkgs }}
- uses: actions/upload-artifact@v4
with:
path: ./*/*.pkg.tar.zst
name: ${{ matrix.repos }}
if-no-files-found: error
- uses: ncipollo/release-action@v1
with:
allowUpdates: true
tag: "packages"
artifacts: "./*/*.zst"
token: ${{ secrets.GITHUB_TOKEN }}
uploadToOneDrive:
runs-on: ubuntu-latest
if: always()
needs: [buildAUR]
steps:
- uses: actions/checkout@v4
- uses: actions/download-artifact@v4
id: download
- name: Display structure of downloaded files
run: ls -R ${{ steps.download.outputs.download-path }}
- uses: ./create-db-and-upload-action
with:
RCLONE_CONFIG_CONTENT: ${{ secrets.RCLONE_CONFIG }}
RCLONE_CONFIG_NAME: onedrive
dest_path: /archrepo
repo_name: vifly
gpg-privatekey: ${{ secrets.gpg_private_key }}
local_path: ${{ steps.download.outputs.download-path }}
- uses: ncipollo/release-action@v1
with:
allowUpdates: true
tag: "packages"
artifacts: "./upload_packages/*.sig,./upload_packages/*.files,./upload_packages/*.db,./upload_packages/*.tar.gz"
token: ${{ secrets.GITHUB_TOKEN }}