From bf81cdd776006b47e38a4f4dabd81f3c1297032b Mon Sep 17 00:00:00 2001 From: frozenIceage Date: Thu, 18 Jul 2024 14:42:26 +0200 Subject: [PATCH] Create release.yml --- .github/workflows/release.yml | 63 +++++++++++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100644 .github/workflows/release.yml 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 <