Skip to content

Commit

Permalink
fix for the release candidate GitHub workflow (CONNECTORS-1754)
Browse files Browse the repository at this point in the history
  • Loading branch information
OpenPj committed Mar 26, 2024
1 parent 2fcc6e5 commit 0fc1f19
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/create-release-candidate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
runs-on: ubuntu-22.04
steps:
- name: Init Release Candidate workflow
run: echo "Starting Apache ManifoldCF workflow for building ${{ github.events.input.releasecandidatetag }}"
run: echo "Starting Apache ManifoldCF workflow for building ${{ github.event.inputs.releasecandidatetag }}"
- uses: actions/[email protected]
- name: Set up OpenJDK 11 Temurin x64
uses: actions/[email protected]
Expand Down Expand Up @@ -63,7 +63,7 @@ jobs:
echo "version=${branchVersion}" >> $GITHUB_OUTPUT
- name: Create new release candidate branch
run: git branch ${{ steps.branchVersion.outputs.version }}${{ github.events.input.releasecandidatetag }}
run: git branch ${{ steps.branchVersion.outputs.version }}${{ github.event.inputs.releasecandidatetag }}

- name: Update all the Maven modules with the new version
run: mvn versions:set -DnewVersion=${{ steps.mavenProjectVersion.outputs.version }} -DremoveSnapshot -DgenerateBackupPoms=false
Expand Down Expand Up @@ -93,36 +93,36 @@ jobs:
run: |
find . -name 'pom.xml' -exec git add {} \;
git add CHANGES.txt build.xml
git commit -am "${{ steps.mavenProjectVersion.outputs.version }}-${{ github.events.input.releasecandidatetag }} created"
git commit -am "${{ steps.mavenProjectVersion.outputs.version }}-${{ github.event.inputs.releasecandidatetag }} created"
git push
- name: Upload artifacts - Binary - zip format
uses: actions/[email protected]
with:
name: apache-manifoldcf-${{ steps.mavenProjectVersion.outputs.version }}-${{ github.events.input.releasecandidatetag }}-bin.zip
name: apache-manifoldcf-${{ steps.mavenProjectVersion.outputs.version }}-${{ github.event.inputs.releasecandidatetag }}-bin.zip
path: apache-manifoldcf-${{ steps.mavenProjectVersion.outputs.version }}-bin.zip

- name: Upload artifacts - Lib - tar.gz format
uses: actions/[email protected]
with:
name: apache-manifoldcf-${{ steps.mavenProjectVersion.outputs.version }}-${{ github.events.input.releasecandidatetag }}-lib.tar.gz
name: apache-manifoldcf-${{ steps.mavenProjectVersion.outputs.version }}-${{ github.event.inputs.releasecandidatetag }}-lib.tar.gz
path: apache-manifoldcf-${{ steps.mavenProjectVersion.outputs.version }}-lib.tar.gz

- name: Upload artifacts - Lib - zip format
uses: actions/[email protected]
with:
name: apache-manifoldcf-${{ steps.mavenProjectVersion.outputs.version }}-${{ github.events.input.releasecandidatetag }}-lib.zip
name: apache-manifoldcf-${{ steps.mavenProjectVersion.outputs.version }}-${{ github.event.inputs.releasecandidatetag }}-lib.zip
path: apache-manifoldcf-${{ steps.mavenProjectVersion.outputs.version }}-lib.zip

- name: Upload artifacts - Source code - tar.gz format
uses: actions/[email protected]
with:
name: apache-manifoldcf-${{ steps.mavenProjectVersion.outputs.version }}-${{ github.events.input.releasecandidatetag }}-src.tar.gz
name: apache-manifoldcf-${{ steps.mavenProjectVersion.outputs.version }}-${{ github.event.inputs.releasecandidatetag }}-src.tar.gz
path: apache-manifoldcf-${{ steps.mavenProjectVersion.outputs.version }}-src-tar.gz

- name: Upload artifacts - Source code - zip format
uses: actions/[email protected]
with:
name: apache-manifoldcf-${{ steps.mavenProjectVersion.outputs.version }}-${{ github.events.input.releasecandidatetag }}-src.zip
name: apache-manifoldcf-${{ steps.mavenProjectVersion.outputs.version }}-${{ github.event.inputs.releasecandidatetag }}-src.zip
path: apache-manifoldcf-${{ steps.mavenProjectVersion.outputs.version }}-src-zip

0 comments on commit 0fc1f19

Please sign in to comment.