diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5573000..8de83af 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -83,31 +83,31 @@ jobs: steps: - name: Download artifacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: path: ./tmp + - name: Clean up dir + run: | + mkdir -p dist + find ./tmp -type f -name '*.whl' -exec cp -t ./dist {} + + find ./tmp -type f -name '*.tar.gz' -exec cp -t ./dist {} + + ls ./dist + - name: Create Release uses: ncipollo/release-action@v1 with: tag: ${{ needs.metadata.outputs.version }} commit: ${{ github.sha }} - name: "howso-engine-no-telemetry ${{ needs.metadata.outputs.version }}" + name: "${{ github.event.repository.name }} ${{ needs.metadata.outputs.version }}" artifactErrorsFailBuild: true generateReleaseNotes: true makeLatest: legacy - artifacts: "./tmp/howso-engine-no-telemetry-*/howso-engine-no-telemetry-*.tar.gz,./tmp/howso_engine_no_telemetry-*/howso_engine_no_telemetry-*.whl" + artifacts: "dist/*" artifactContentType: application/gzip - - name: Clean up dir - run: | - mkdir -p dist - find ./tmp -type f -name '*.whl' -exec cp -t ./dist {} + - find ./tmp -type f -name '*.tar.gz' -exec cp -t ./dist {} + - ls ./dist - - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: "3.11"