Skip to content

Commit aa8d36e

Browse files
committed
Use composite action instead of docker
1 parent e3e05b7 commit aa8d36e

File tree

5 files changed

+13
-22
lines changed

5 files changed

+13
-22
lines changed

.dockerignore

Lines changed: 0 additions & 2 deletions
This file was deleted.

.github/workflows/nextrelease.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ jobs:
1717
- uses: dropseed/nextrelease@v1
1818
with:
1919
prepare_cmd: |
20-
sed -i -e "s/changerelease==.*/changerelease==$VERSION/g" Dockerfile
2120
sed -i -e "s/version = \"[^\"]*\"/version = \"$VERSION\"/g" pyproject.toml
2221
publish_cmd: |
2322
poetry publish --build

Dockerfile

Lines changed: 0 additions & 7 deletions
This file was deleted.

action.yml

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,16 @@ inputs:
2121
description: 'Get the CHANGELOG using the GitHub API (does not require a cloned repo)'
2222
default: true
2323
runs:
24-
using: docker
25-
image: Dockerfile
26-
env:
27-
CR_CHANGELOG: ${{ inputs.changelog }}
28-
CR_TAG_PREFIX: ${{ inputs.tag_prefix }}
29-
CR_NO_TAG_PREFIX: ${{ inputs.tag_prefix == '' }}
30-
CR_LIMIT: ${{ inputs.limit }}
31-
CR_REMOTE_CHANGELOG: ${{ inputs.remote_changelog }}
32-
GITHUB_TOKEN: ${{ inputs.github_token }}
24+
using: composite
25+
steps:
26+
- run: pip3 install $GITHUB_ACTION_PATH
27+
shell: bash
28+
- run: changerelease sync
29+
shell: bash
30+
env:
31+
CR_CHANGELOG: ${{ inputs.changelog }}
32+
CR_TAG_PREFIX: ${{ inputs.tag_prefix }}
33+
CR_NO_TAG_PREFIX: ${{ inputs.tag_prefix == '' }}
34+
CR_LIMIT: ${{ inputs.limit }}
35+
CR_REMOTE_CHANGELOG: ${{ inputs.remote_changelog }}
36+
GITHUB_TOKEN: ${{ inputs.github_token }}

scripts/docker

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)