Skip to content

BUILD

BUILD #748

Workflow file for this run

name: BUILD
on:
push:
branches:
- main
- build
schedule:
- cron: "0 */12 * * *"
jobs:
buildAUR:
strategy:
matrix:
repos:
- visual-studio-code-bin
- google-chrome
- wayfire-git
- hyprland-git
- sway-im-git
fail-fast: false
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./build-aur-action
with:
repo-name: ${{ matrix.repos }}
- uses: actions/upload-artifact@v3
with:
path: ./*/*.pkg.tar.zst
name: ${{ matrix.repos }}
if-no-files-found: error
uploadToOneDrive:
runs-on: ubuntu-latest
if: always()
needs: [buildAUR]
steps:
- uses: actions/checkout@v4
- uses: actions/download-artifact@v3
id: download
- uses: ./create-db-and-upload-action
with:
RCLONE_ONEDRIVE_CLIENT_ID: ${{ secrets.RCLONE_ONEDRIVE_CLIENT_ID }}
RCLONE_ONEDRIVE_CLIENT_SECRET: ${{ secrets.RCLONE_ONEDRIVE_CLIENT_SECRET }}
RCLONE_ONEDRIVE_REGION: global
RCLONE_ONEDRIVE_TOKEN: ${{ secrets.RCLONE_ONEDRIVE_TOKEN }}
RCLONE_ONEDRIVE_DRIVE_ID: ${{ secrets.RCLONE_ONEDRIVE_DRIVE_ID }}
RCLONE_ONEDRIVE_DRIVE_TYPE: personal
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
GPG_PASSWORD: ${{ secrets.GPG_PASSWORD }}
dest_path: /Linux/Arch/repo
repo_name: iflygo
local_path: ${{ steps.download.outputs.download-path }}