-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (34 loc) · 907 Bytes
/
ci.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
28
29
30
31
32
33
34
35
36
37
38
39
40
name: Build CI
on:
push:
branches: [ archlinux ]
paths-ignore:
- '**.md'
workflow_dispatch:
jobs:
build:
name: Build CI
runs-on: ubuntu-latest
if: ${{ !startsWith(github.event.head_commit.message, '[skip ci]') }}
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Arch
uses: docker://archlinux:latest
with:
entrypoint: /bin/bash
args: .github/workflows/scripts/ci.sh
- name: Prepare Artifact
id: prepare_artifact
run: |
echo "name=$(echo qwrapper*.pkg* | sed 's/.pkg.*//')" >> $GITHUB_OUTPUT
- name: Upload Artifact
if: success()
uses: actions/upload-artifact@v4
with:
name: ${{ steps.prepare_artifact.outputs.name }}
path: |
PKGBUILD
qwrapper*.pkg.*