No description
- Shell 100%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| action.yaml | ||
| README.md | ||
| upload.sh | ||
Forgejo Package Registry Upload
A composite action that uploads Debian .deb and Arch Linux .pkg.tar.zst packages to Forgejo package registries.
Usage
Debian
- name: Upload Debian packages
uses: https://git.1li.tw/actions/[email protected]
with:
username: ${{ vars.FORGEJO_PACKAGE_USERNAME }}
token: ${{ secrets.FORGEJO_PACKAGE_TOKEN }}
packages: dist/*.deb
package_type: debian
owner: simbafs
package_name: pinentry-remote
repository: simbafs/pinentry-remote
distribution: stable
component: main
Arch Linux
- name: Upload Arch packages
uses: https://git.1li.tw/actions/[email protected]
with:
username: ${{ vars.FORGEJO_PACKAGE_USERNAME }}
token: ${{ secrets.FORGEJO_PACKAGE_TOKEN }}
packages: dist/*.pkg.tar.zst
package_type: arch
owner: simbafs
package_name: pinentry-remote
repository: simbafs/pinentry-remote
group: extra
package_type defaults to debian. owner and server default to the current repository owner and Forgejo instance. packages accepts newline-separated file paths or shell globs; every pattern must match at least one file. Set package_name to link the uploaded package to a repository after upload; repository defaults to the current repository and accepts either repo or owner/repo.
The token must have package write access for the selected owner. Debian packages use the selected distribution and component. Arch packages are uploaded to the selected repository group; Forgejo creates the package signature and pacman database metadata.