23 lines
1.1 KiB
YAML
23 lines
1.1 KiB
YAML
name: Archlinux build
|
|
run-name: ${{ gitea.name}} building 🚀
|
|
on: [push]
|
|
jobs:
|
|
build:
|
|
runs-on: arch-latest
|
|
steps:
|
|
- run: echo "🎉 The job was automatically triggered by a ${{ gitea.event.name }} event."
|
|
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by Gitea!"
|
|
- run: echo "🔎 The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}."
|
|
- run: echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner."
|
|
- run: echo "🖥️ The workflow is now ready to test your code on the runner."
|
|
- name: List files in the repository
|
|
run: |
|
|
pacman -Syu
|
|
- run: pacman -S wget
|
|
- run: ls ${{ gitea.basedir }}
|
|
- run: cd ${{gitea.basedir}} && wget http://zxprj:3001/zx/bforce/raw/branch/master/archlinux/bforce.install
|
|
- run: pwd && cd ${{gitea.basedir}} && wget http://zxprj:3001/zx/bforce/raw/branch/master/archlinux/PKGBUILD
|
|
- run: cd ${{gitea.basedir}} && makepkg
|
|
- run: echo "🍏 This job's status is ${{ gitea.job.status }}."
|
|
|