-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (42 loc) · 1.12 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
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
- uses: dev-drprasad/[email protected]
with:
delete_release: true
tag_name: latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Release
uses: ncipollo/[email protected]
with:
tag: latest
name: Optimized packages for AMD Zen 2
omitBody: true
commit: ${{ github.sha }}
artifacts: "*"
token: ${{ secrets.GITHUB_TOKEN }}