Skip to content

Commit

Permalink
Add names to some workflows and remove dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
simlmx committed Mar 28, 2023
1 parent d75d67a commit 68ee60a
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ on:
default: Dockerfile

jobs:

docker-build:
name: Build docker
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/bump-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ on:

jobs:
bump-version:
name: Bump version
runs-on: ubuntu-latest
outputs:
new_ver: ${{ steps.bumper.outputs.new_ver }}
Expand Down
7 changes: 1 addition & 6 deletions .github/workflows/github-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,6 @@ name: Make a github release
on:
workflow_call:
inputs:
ref:
# This default value is consistent with the actions/checkout default value.
# Note however that if this is called after, say, the bump-version workflow, then
# this won't point to the right commit: use `main` instead in that case.
default: ${{ github.sha }}
type: string
version:
description: Version to release, e.g. "1.0.0"
type: string
Expand All @@ -17,6 +11,7 @@ on:

jobs:
github-release:
name: Github release
runs-on: ubuntu-latest
steps:
- name: Changelog
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/publish-to-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ on:

jobs:
publish-python:
name: Publish to PYPI
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/push-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ on:
default: false

jobs:
docker-release:
push-docker:
name: Push docker @ ${{ inputs.tag_value }}
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand Down

0 comments on commit 68ee60a

Please sign in to comment.