Skip to content

Commit

Permalink
fix(ci): fix and remove unecessary setps in set version workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
fhussonnois committed Feb 7, 2025
1 parent c31609a commit dc8576a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 36 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/gradle-release-plugins.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,8 @@ jobs:
GITHUB_PAT: ${{ secrets.GH_PERSONAL_TOKEN }}
run: |
chmod +x ./dev-tools/release-plugins.sh;
./release-plugins.sh \
./dev-tools/release-plugins.sh \
--release-version=${{github.event.inputs.releaseVersion}} \
--next-version=${{github.event.inputs.nextVersion}} \
--yes \
Expand All @@ -72,7 +73,8 @@ jobs:
GITHUB_PAT: ${{ secrets.GH_PERSONAL_TOKEN }}
run: |
chmod +x ./dev-tools/release-plugins.sh;
./release-plugins.sh \
./dev-tools/release-plugins.sh \
--release-version=${{github.event.inputs.releaseVersion}} \
--next-version=${{github.event.inputs.nextVersion}} \
--dry-run \
Expand Down
22 changes: 4 additions & 18 deletions .github/workflows/setversion-tag-plugins.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,22 +21,6 @@ jobs:
with:
fetch-depth: 0

# Checkout GitHub Actions
- uses: actions/checkout@v4
with:
repository: kestra-io/actions
path: actions
ref: main

# Setup build
- uses: ./actions/.github/actions/setup-build
id: build
with:
java-enabled: true
node-enabled: true
python-enabled: true
caches-enabled: true

# Get Plugins List
- name: Get Plugins List
uses: ./.github/actions/plugins-list
Expand All @@ -56,7 +40,8 @@ jobs:
GITHUB_PAT: ${{ secrets.GH_PERSONAL_TOKEN }}
run: |
chmod +x ./dev-tools/setversion-tag-plugins.sh;
./tag-release-plugins.sh \
./dev-tools/setversion-tag-plugins.sh \
--release-version=${{github.event.inputs.releaseVersion}} \
--yes \
${{ steps.plugins-list.outputs.repositories }}
Expand All @@ -67,7 +52,8 @@ jobs:
GITHUB_PAT: ${{ secrets.GH_PERSONAL_TOKEN }}
run: |
chmod +x ./dev-tools/setversion-tag-plugins.sh;
./tag-release-plugins.sh \
./dev-tools/setversion-tag-plugins.sh \
--release-version=${{github.event.inputs.releaseVersion}} \
--dry-run \
--yes \
Expand Down
16 changes: 0 additions & 16 deletions .github/workflows/setversion-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,22 +39,6 @@ jobs:
with:
fetch-depth: 0

# Checkout GitHub Actions
- uses: actions/checkout@v4
with:
repository: kestra-io/actions
path: actions
ref: main

# Setup build
- uses: ./actions/.github/actions/setup-build
id: build
with:
java-enabled: true
node-enabled: true
python-enabled: true
caches-enabled: true

- name: Configure Git
run: |
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
Expand Down

0 comments on commit dc8576a

Please sign in to comment.