diff --git a/.github/workflows/release-py.yaml b/.github/workflows/release-py.yaml deleted file mode 100644 index ed5d840..0000000 --- a/.github/workflows/release-py.yaml +++ /dev/null @@ -1,50 +0,0 @@ -name: Create Python release - -on: - push: - tags: - - 'v0.0.*' - -jobs: - build: - strategy: - matrix: - include: - - os: ubuntu-22.04 - asset: ozy-Linux-x86_64 - - os: macos-12 - asset: ozy-Darwin-x86_64 - - runs-on: ${{ matrix.os }} - - steps: - - uses: actions/checkout@v2 - - name: Setup Python # Set Python version - uses: actions/setup-python@v2 - with: - python-version: '3.8' - - name: Deps - run: make deps - - name: Test - run: make test - - name: Dist - run: make dist OUTPUT_NAME=${{ matrix.asset }} - - name: Ensure version is correct - run: dist/${{ matrix.asset }} --version | grep "$(echo $GITHUB_REF | cut -d / -f 3)" - - uses: actions/upload-artifact@v2 - with: - name: ${{ matrix.asset }} - path: dist/${{ matrix.asset }} - - upload: - needs: [ build ] - runs-on: ubuntu-22.04 - steps: - - name: Download all workflow run artifacts - uses: actions/download-artifact@v2 - - name: Upload binaries to release - uses: "marvinpinto/action-automatic-releases@latest" - with: - repo_token: "${{ secrets.GITHUB_TOKEN }}" - prerelease: true - files: "**/ozy-*"