forked from FFY00/build-arch-package
-
Notifications
You must be signed in to change notification settings - Fork 0
27 lines (25 loc) · 900 Bytes
/
test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
name: test
on: [push, pull_request, workflow_dispatch]
jobs:
test-run:
runs-on: ubuntu-latest
container:
image: archlinux
options: --privileged
steps:
- uses: actions/checkout@v3
- name: Set proper repository url in PKGBUILD
run: sed -i "s|%URL%|${{ github.server_url }}/${{ github.repository }}|" .github/workflows/PKGBUILD
- name: Build Arch Linux package
uses: ./
with:
BUILD_SCRIPT: extra-x86_64-build
PKGBUILD: $GITHUB_WORKSPACE/.github/workflows/PKGBUILD
OUTDIR: $HOME/arch-packages
- name: Build the package again
uses: ./
with:
BUILD_SCRIPT: extra-x86_64-build
PKGBUILD: $GITHUB_WORKSPACE/.github/workflows/PKGBUILD
OUTDIR: $HOME/arch-packages2
# See: https://github.com/taotieren/deepin-wine-qq-arch/blob/master/.github/workflows/main.yml