Files
cli/.gitea/workflows/build.yml
T
elordenador 5e70206309
Build / build_arch (push) Successful in 1m16s
Build / publish-release (push) Failing after 56s
Downgrade upload and download artifact version
2026-05-13 11:04:26 +02:00

43 lines
1.1 KiB
YAML

name: Build
on: [push]
jobs:
build_arch:
runs-on: archlinux
steps:
- name: Checkout Current Repo
uses: actions/checkout@v4
- name: Clone External Repository
run: |
git clone https://git.elordenador.org/RedSocial/cli_archpkg.git external
chown -R builder:builder external
- name: Makepkg
run: |
cd external && makepkg -s --noconfirm
- name: Upload Artifact
uses: actions/upload-artifact@v3
with:
name: arch-package
path: external/*.pkg.tar.zst
publish-release:
runs-on: ubuntu-latest
needs: build_arch
steps:
- name: Download Artifact
uses: actions/download-artifact@v3
with:
name: arch-package
path: ./dist
- name: Create Release and Upload Assets
uses: https://github.com/softprops/action-gh-release@v1
with:
files: ./dist/*.pkg.tar.zst
tag_name: ${{ github.ref_name }}
draft: false
prerelease: false
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}