Skip to content

Commit

Permalink
disable github release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ByteOtter committed Jan 9, 2024
1 parent 2871c01 commit 09d1a85
Showing 1 changed file with 21 additions and 21 deletions.
42 changes: 21 additions & 21 deletions .github/workflows/packaging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,24 +35,24 @@ jobs:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}

- name: Create Release
id: create_release
uses: actions/create-release@v1.1.4
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: v${{ github.run_number }}
release_name: Release ${{ github.run_number }}
draft: false
prerelease: false

- name: Add package to Release
id: upload-release-asset
uses: actions/upload-release-asset@v1.0.2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./src/dist/*
asset_name: ${'package-' + github.run_number + '-' + github.sha + '.tar.gz'}
asset_content_type: application/x-gzip
# - name: Create Release
# id: create_release
# uses: actions/create-release@v1.1.4
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# with:
# tag_name: v${{ github.run_number }}
# release_name: Release ${{ github.run_number }}
# draft: false
# prerelease: false

# - name: Add package to Release
# id: upload-release-asset
# uses: actions/upload-release-asset@v1.0.2
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# with:
# upload_url: ${{ steps.create_release.outputs.upload_url }}
# asset_path: ./src/dist/*
# asset_name: ${'package-' + github.run_number + '-' + github.sha + '.tar.gz'}
# asset_content_type: application/x-gzip

0 comments on commit 09d1a85

Please sign in to comment.