Skip to content

Conversation

@slawekjaranowski
Copy link
Member

As composite actions are external to workflow - I need it add as separate commit.

Next we cen use this one action in workflow instead of repeat the same steps multiple time.

As composite actions are external to workflow - I need it add as separate commit.

Next we cen use this one action in workflow instead of repeat the same steps multiple time.
@slawekjaranowski
Copy link
Member Author

@hboutemy
Copy link
Member

hboutemy commented Nov 18, 2025

FTR https://docs.github.com/en/actions/tutorials/create-actions/create-a-composite-action
and https://medium.com/@reach2shristi.81/reusable-workflows-and-composite-actions-in-github-actions-013b177e8b6c

oh, I did not get the new directory for composite action .github/actions/install-svn/action.yml and normalized action.yml file name
that will be referenced in workflows (once merged to v4 branch) as

jobs:
  run-tests:
    runs-on: ubuntu-latest
    steps:
      - name: Install Subversion
        uses: apache/maven-gh-actions-shared/.github/actions/install-svn@v4

great learning, thanks

@hboutemy hboutemy changed the title Add install svn composite action Add install-svn composite action Nov 18, 2025
@hboutemy
Copy link
Member

found the reference doc for composite action (vs javascript or docker ones)
https://docs.github.com/en/actions/reference/workflows-and-actions/metadata-syntax#runs-for-composite-actions

@slawekjaranowski slawekjaranowski merged commit e7ef8e2 into apache:v4 Nov 18, 2025
67 checks passed
@slawekjaranowski slawekjaranowski deleted the install-svn-action branch November 18, 2025 06:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants