28 lines
693 B
YAML
28 lines
693 B
YAML
name: Publish package
|
|
description: build and publish an Arch package
|
|
|
|
runs:
|
|
using: "composite"
|
|
steps:
|
|
- name: sanity check
|
|
shell: bash
|
|
run: echo "🏃 Running! cloning ${{ github.repository }} ..."
|
|
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Permissions
|
|
run: |
|
|
chmod -R 777 .
|
|
ls -al
|
|
|
|
- name: Build package
|
|
uses: https://git.sanin.dev/packages_test/build-publish/@build
|
|
|
|
- name: Publish package
|
|
shell: bash
|
|
run: |
|
|
curl --user ${{ secrets.USERNAME }}:${{ secrets.TOKEN }} \
|
|
--upload-file ./*.tar.zst \
|
|
"${{ GITHUB_SERVER_URL }}/api/packages/packages_test/arch/microverse"
|