Skip to content

Commit

Permalink
Update ArchLinux PKGBuild
Browse files Browse the repository at this point in the history
  • Loading branch information
quexten committed Sep 19, 2023
1 parent 645adcd commit daa8918
Showing 1 changed file with 36 additions and 13 deletions.
49 changes: 36 additions & 13 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,22 +46,45 @@ jobs:
flags: ''
namcap: true
updpkgsums: true
- name: Makepkg Build and Check
id: makepkg
uses: edlanglois/pkgbuild-action@v1
with:
aurDeps: true
- name: Convert to deb
uses: bpicode/github-action-fpm@master

- name: Build
run: go build -v .

- name: Move binaries to directories
run:
mkdir -p .debpkg/usr/bin
mkdir -p .rpmpkg/usr/bin
cp -p goldwarden .debpkg/usr/bin/
cp -p goldwarden .rpmpkg/usr/bin/

- uses: jiro4989/build-deb-action@v3
with:
fpm_args: './build'
fpm_opts: '--debug -n goldwarden -t deb -s pacman'
- name: Convert to rpm
uses: bpicode/github-action-fpm@master
package: goldwarden
package_root: .debpkg
maintainer: quexten
version: ${{ github.ref }}
arch: 'amd64'
desc: 'Goldwarden'
- uses: actions/upload-artifact@v3
with:
fpm_args: './build'
fpm_opts: '--debug -n goldwarden -t rpm -s pacman'
name: goldwarden.deb
path: ./*.deb

- uses: jiro4989/build-rpm-action@v2
with:
summary: 'Goldwarden'
package: goldwarden
package_root: .rpmpkg
maintainer: quexten
version: ${{ github.ref }}
arch: 'x86_64'
desc: 'Goldwarden'
- uses: actions/upload-artifact@v3
with:
name: goldwarden.rpm
path: |
./*.rpm
!./*-debuginfo-*.rpm
macos:
runs-on: macos-latest
steps:
Expand Down

0 comments on commit daa8918

Please sign in to comment.