Skip to content

trying to fix github actions 12 #301

trying to fix github actions 12

trying to fix github actions 12 #301

Workflow file for this run

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 }}