Newer
Older
thu-learn-downloader-optimized / .github / workflows / cd.yaml
@Qin Li Qin Li on 2 Oct 2022 938 bytes ci: add workflow "Continuous Delivery"
name: Continuous Delivery

on:
  push:

jobs:
  build:
    strategy:
      matrix:
        os:
          - ubuntu-latest
          - windows-latest
          - macos-latest
    runs-on: ${{ matrix.os }}
    steps:
      - name: Checkout
        uses: actions/[email protected]
      - name: Setup Python
        uses: actions/[email protected]
        with:
          python-version: "3.10"
      - name: Install Dependencies
        run: |
          python -m pip install --upgrade pip
          pip install --requirement requirements.txt
          pip install pyinstaller
      - name: GitHub Tag
        id: tag_version
        uses: mathieudutour/[email protected]
        with:
          github_token: ${{ github.token }}
      - name: Release
        uses: softprops/[email protected]
        with:
          tag_name: ${{ steps.tag_version.outputs.new_tag }}
          body: ${{ steps.tag_version.outputs.changelog }}