Skip to content

Commit

Permalink
Merge pull request #10 from HenryCabarcas/tests
Browse files Browse the repository at this point in the history
Tests
  • Loading branch information
nerdtronik authored Feb 22, 2025
2 parents e9c26a1 + 3094b68 commit ca8dc0e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/push.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
on:
push:
branches: ["main"]
branches: ["tests","main"]
jobs:
push-workflow:
runs-on: ubuntu-latest
Expand Down
8 changes: 6 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,14 +118,18 @@ runs:
uses: actions/checkout@v4
with:
repository: HenryCabarcas/auto-versioning
path: ./.auto-versioning
- uses: actions/setup-python@v5
with:
python-version: '3.13'
- name: Install the gh cli
uses: ksivamuthu/actions-setup-gh-cli@v3

- shell: bash
run: echo "${{ github }}"
run: echo '${{ toJson(github) }}'
- name: 🤖 Automatic version tag
id: main-process
run: ./start.sh
run: ./.auto-versioning/start.sh
shell: bash
env:
GH_TOKEN: ${{ inputs.github-token }}
Expand Down
2 changes: 1 addition & 1 deletion start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -104,4 +104,4 @@ if [[ "$debug" == "true" ]]; then
echo "Main command: python3 src/main.py $target_commit $command_args"
fi

python3 src/main.py $target_commit $command_args
python3 ./.auto-versioning/src/main.py $target_commit $command_args

0 comments on commit ca8dc0e

Please sign in to comment.