diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..2886340 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,63 @@ +name: Release on OBS + +on: + workflow_dispatch: + +jobs: + release-obs: + name: Release on OBS + runs-on: ubuntu-latest + env: + OBS_API: https://api.opensuse.org/ + PROJECT: home:ChHuang + steps: + - name: Install osc + run: | + apt-get update -y + apt-get install -y osc + - name: Config osc + run: >- + cat > $HOME/.oscrc <