forked from PKGBUILDs/eudev
oops old version
Signed-off-by: fbt <fbt@fleshless.org>
This commit is contained in:
parent
3937e4d5fb
commit
7eb9f9d71e
|
@ -1,23 +1,33 @@
|
||||||
name: Build the package
|
name: Gitea Actions Demo
|
||||||
run-name: ${{ gitea.actor }} is building ${{ gitea.repository }} 🚀
|
run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
|
||||||
on: [push]
|
on: [push]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
Explore-Gitea-Actions:
|
Explore-Gitea-Actions:
|
||||||
runs-on: arch-devel
|
runs-on: autobuilder
|
||||||
|
container:
|
||||||
|
volumes:
|
||||||
|
- /home/builder/public/spark-extra/import:/import
|
||||||
steps:
|
steps:
|
||||||
- run: echo "The job was automatically triggered by a ${{ gitea.event_name }} event."
|
- name: Show job info
|
||||||
- run: echo "This job is now running on a ${{ runner.os }} server hosted by Gitea!"
|
run: |
|
||||||
- run: echo "The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}."
|
echo "The job was automatically triggered by a ${{ gitea.event_name }} event."
|
||||||
|
echo "This job is now running on a ${{ runner.os }} server hosted by Gitea!"
|
||||||
|
echo "The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}."
|
||||||
- name: Check out repository code
|
- name: Check out repository code
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
- run: echo "The ${{ gitea.repository }} repository has been cloned to the runner."
|
- name: Link the workdir into /buildroot # for script compatability with the old builder.
|
||||||
- run: echo "The workflow is now ready to test your code on the runner."
|
|
||||||
- name: List files in the repository
|
|
||||||
run: |
|
run: |
|
||||||
ls ${{ gitea.workspace }}
|
ln -vfs ${{ gitea.workspace }} /buildroot
|
||||||
- name: Build the package
|
- name: Build the package
|
||||||
run: |
|
run: |
|
||||||
cd ${{ gitea.workspace }}
|
cd ${{ gitea.workspace }}
|
||||||
/build
|
/build -s --noconfirm
|
||||||
- run: echo "This job's status is ${{ job.status }}."
|
# - name: Upload artifacts
|
||||||
|
# uses: actions/upload-artifact@v3
|
||||||
|
# with:
|
||||||
|
# name: package
|
||||||
|
# path: ./*.pkg.tar.zst
|
||||||
|
- name: Put the packages into the import dir
|
||||||
|
run: cp -v ./*.pkg.tar.zst /import
|
||||||
|
- run: echo "This job's status is ${{ job.status }}."
|
Loading…
Reference in New Issue
Block a user