Skip to content

Commit

Permalink
chore: Rename stable release name
Browse files Browse the repository at this point in the history
  • Loading branch information
frascuchon committed Jun 17, 2024
1 parent 26b193f commit e7d6f63
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/argilla-v1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ on:
- develop
- feat/**
- releases/**
- stable # This is for tests purposes
- releases/stable # This is for tests purposes

pull_request:
paths:
Expand Down Expand Up @@ -102,7 +102,7 @@ jobs:
publish_release:
name: Publish Release
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/stable' || ${{ github.event_name }} == 'workflow_dispatch'
if: github.ref == 'refs/heads/releases/stable' || ${{ github.event_name }} == 'workflow_dispatch'

permissions:
# This permission is needed for private repositories.
Expand Down Expand Up @@ -145,7 +145,7 @@ jobs:
run: pip install --upgrade --no-deps --force-reinstall --index-url https://test.pypi.org/simple $PACKAGE_NAME==$PACKAGE_VERSION

- name: Publish Package to PyPI 🥩
if: github.ref == 'refs/heads/stable'
if: github.ref == 'refs/heads/releases/stable'
uses: pypa/gh-action-pypi-publish@release/v1

- name: Create tag
Expand Down

0 comments on commit e7d6f63

Please sign in to comment.