-
Notifications
You must be signed in to change notification settings - Fork 0
45 lines (45 loc) · 1.18 KB
/
build.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
41
42
43
44
45
name: Build Arch Linux packages
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
pkg: [battery-notifications, cdns, gammastep, networkd-notify-git, pacfilter, python-mapbox-earcut, yacd]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build
uses: ./.github/actions/makepkg
with:
arch: znver2
pkg: ${{ matrix.pkg }}
- name: Archive packages
uses: actions/upload-artifact@v4
with:
path: pkgs/
release:
runs-on: ubuntu-latest
needs:
- build
steps:
- uses: actions/download-artifact@v4
with:
path: pkgs/
- uses: dev-drprasad/[email protected]
with:
delete_release: true
tag_name: latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Release
uses: ncipollo/release-action@v1
with:
tag: latest
name: Optimized packages for AMD Zen 2
omitBody: true
commit: ${{ github.sha }}
artifacts: "pkgs/*"
draft: false
token: ${{ secrets.GITHUB_TOKEN }}