From 6476e5c636f52f922da5ca4b60fbb9177e348b21 Mon Sep 17 00:00:00 2001 From: developomp Date: Sun, 20 Nov 2022 16:44:22 +0900 Subject: [PATCH] add auto release script --- .github/workflows/release.yml | 36 +++++++++++++++++++++++++++++++++++ 1 file changed, 36 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..4a68dbd --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,36 @@ +name: Release + +on: + push: + branches: + - master + paths-ignore: + - .vscode/** + - ./.repo/** + - README.md + - LICENSE + +jobs: + tagged-release: + name: Release + runs-on: ubuntu-latest + + steps: + - name: Checkout repo + uses: actions/checkout@v3 + + - name: Setup Python + uses: actions/setup-python@v4 + with: + python-version: 3.10 + + - name: Install dependencies + run: pip install -r requirements.txt + + - name: Build + run: python ./src + + - name: Create release + uses: softprops/action-gh-release@v1 + with: + files: POMP.osk