creation #949
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Auto Create Packages on OBS | |
on: | |
repository_dispatch: | |
types: [creation] | |
env: | |
OSC_PASS: ${{ secrets.OSC_PASS }} | |
jobs: | |
create_pkg: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install OSC | |
run: | | |
sudo apt update | |
sudo apt install -y osc | |
sudo pip install m2crypto | |
- name: Start creating package | |
env: | |
PKG: ${{ github.event.client_payload.pkg }} | |
run: ./obs_create.sh $PKG |