Skip to content

Commit

Permalink
Add warning
Browse files Browse the repository at this point in the history
  • Loading branch information
charliermarsh committed May 26, 2024
1 parent c146b26 commit 0033549
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 28 deletions.
53 changes: 27 additions & 26 deletions .github/workflows/flake8-to-ruff.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: "[flake8-to-ruff] Release"

on: workflow_dispatch
on:
pull_request:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand All @@ -9,7 +10,7 @@ concurrency:
env:
PACKAGE_NAME: flake8-to-ruff
CRATE_NAME: flake8_to_ruff
PYTHON_VERSION: "3.7" # to build abi3 wheels
PYTHON_VERSION: "3.11"
CARGO_INCREMENTAL: 0
CARGO_NET_RETRY: 10
RUSTUP_MAX_RETRIES: 10
Expand Down Expand Up @@ -267,27 +268,27 @@ jobs:
name: wheels
path: dist

release:
name: Release
runs-on: ubuntu-latest
needs:
- macos-universal
- macos-x86_64
- windows
- linux
- linux-cross
- musllinux
- musllinux-cross
- pypy
steps:
- uses: actions/download-artifact@v2
with:
name: wheels
- uses: actions/setup-python@v4
- name: Publish to PyPi
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.FLAKE8_TO_RUFF_TOKEN }}
run: |
pip install --upgrade twine
twine upload --skip-existing *
# release:
# name: Release
# runs-on: ubuntu-latest
# needs:
# - macos-universal
# - macos-x86_64
# - windows
# - linux
# - linux-cross
# - musllinux
# - musllinux-cross
# - pypy
# steps:
# - uses: actions/download-artifact@v2
# with:
# name: wheels
# - uses: actions/setup-python@v4
# - name: Publish to PyPi
# env:
# TWINE_USERNAME: __token__
# TWINE_PASSWORD: ${{ secrets.FLAKE8_TO_RUFF_TOKEN }}
# run: |
# pip install --upgrade twine
# twine upload --skip-existing *
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion flake8_to_ruff/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "flake8-to-ruff"
version = "0.0.231"
version = "0.0.234"
edition = "2021"

[dependencies]
Expand Down

0 comments on commit 0033549

Please sign in to comment.