@@ -15,18 +15,15 @@ jobs:
|
|||||||
echo "This job is now running on a ${{ runner.os }} server hosted by Gitea!"
|
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 }}."
|
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: https://gitea.com/actions/checkout@v3
|
||||||
- name: Link the workdir into /buildroot # for script compatability with the old builder.
|
|
||||||
run: |
|
|
||||||
ln -vfs ${{ gitea.workspace }} /buildroot
|
|
||||||
- name: Build the package
|
- name: Build the package
|
||||||
run: |
|
run: |
|
||||||
cd ${{ gitea.workspace }}
|
cd ${{ gitea.workspace }}
|
||||||
/build -s --noconfirm
|
/build ${{ gitea.workspace }} -s --noconfirm
|
||||||
# - name: Upload artifacts
|
|
||||||
# uses: actions/upload-artifact@v3
|
|
||||||
# with:
|
|
||||||
# name: package
|
|
||||||
# path: ./*.pkg.tar.zst
|
|
||||||
- name: Put the packages into the import dir
|
- name: Put the packages into the import dir
|
||||||
run: cp -v ./*.pkg.tar.zst /import
|
run: cp -v ./*.pkg.tar.zst /import
|
||||||
|
- name: Upload the artifacts
|
||||||
|
uses: https://gitea.com/actions/gitea-upload-artifact@v7
|
||||||
|
with:
|
||||||
|
name: packages
|
||||||
|
path: ./*.pkg.tar.zst
|
||||||
|
|||||||
Reference in New Issue
Block a user