https://github.com/yuezk/publish-obs-package
GitHub action to publish the OBS (Open Build Service) packages.
https://github.com/yuezk/publish-obs-package
debian-packaging github-actions openbuildservice opensuse opensuse-buildservice opensuse-packages packaging rpm-packaging suse
Last synced: 20 days ago
JSON representation
GitHub action to publish the OBS (Open Build Service) packages.
- Host: GitHub
- URL: https://github.com/yuezk/publish-obs-package
- Owner: yuezk
- License: mit
- Created: 2021-10-16T12:54:45.000Z (over 4 years ago)
- Default Branch: develop
- Last Pushed: 2021-10-17T02:29:32.000Z (over 4 years ago)
- Last Synced: 2025-08-06T08:45:06.050Z (10 months ago)
- Topics: debian-packaging, github-actions, openbuildservice, opensuse, opensuse-buildservice, opensuse-packages, packaging, rpm-packaging, suse
- Language: Shell
- Homepage:
- Size: 10.7 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# Publish OBS Package
GitHub action to publish the OBS ([Open Build Service](https://openbuildservice.org/)) packages.
## Inputs
### `api`
**Optional** The OBS API url. Default `https://api.opensuse.org`
### `project`
**Required** The OBS project name. E.g., `home:yuezk`
### `package`
**Required** The OBS package name. E.g., `globalprotect-openconnect`
### `username`
**Required** The OBS username.
### `password`
**Required** The OBS password.
### `files`
**Required** The OBS package files to be submitted.
Support the newline-separated glob patterns, which will be expanded by bash when copying the files to the package.
### `commit_message`
**Optional** Commit message to use when submitting the package. Default: `OBS release: git#${GITHUB_SHA}"`
## Example usage
```yml
name: Publish OBS package
uses: yuezk/publish-obs-package@main
with:
project: yuezk
package: globalprotect-openconnect
username: yuezk
password: ${{ secrets.OBS_PASSWORD }}
files: ./artifacts/obs/*
```
## Real-world applications
- [GlobalProtect-openconnect](https://github.com/yuezk/GlobalProtect-openconnect): A GlobalProtect VPN client (GUI) for Linux based on OpenConnect and built with Qt5, supports SAML auth mode.
## LICENSE
[MIT](./LICENSE)