Skip to content

Commit

Permalink
use manual checkout in release.sh
Browse files Browse the repository at this point in the history
Signed-off-by: nvodenicharski99 <nvodenicharski@vmware.com>
  • Loading branch information
n-vodenicharski committed Mar 29, 2023
1 parent bccb3a8 commit 535168e
Showing 1 changed file with 5 additions and 29 deletions.
34 changes: 5 additions & 29 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,38 +38,14 @@ jobs:
exit 2
fi
# - name: Validate branch
# run: |
# if ! [[ "${{ github.ref }}" = "refs/heads/main" ]]; then
# echo "Releases can be created only from 'main' branch!"
# exit 3
# fi

- name: Checkout code
uses: actions/checkout@v3
with:
username: 'svc-wwcoe-ci-admin'
token: $ {{ secrets.GH_TOKEN }}

- name: Setup Maven Action
uses: s4u/setup-maven-action@v1.7.0
with:
java-version: "8"
java-distribution: "corretto"
maven-version: "3.8.7"

- name: Install xmllint
run: sudo apt-get install libxml2-utils

- name: Use Node.js '14.17.1'
uses: actions/setup-node@v3
with:
node-version: '14.17.1'

- name: Set Git configs
- name: Checkout
run: |
git clone https://svc-wwcoe-ci-admin:${{ secrets.GH_TOKEN }}@github.com/vmware/build-tools-for-vmware-aria.git .
git config --global user.email "svc-wwcoe-ci-admin@vmware.com"
git config --global user.name "WWCoE CI admin"
- name: Install xmllint
run: sudo apt-get install libxml2-utils

- name: Run release script
run: ./release.sh -v ${{ inputs.version }}

0 comments on commit 535168e

Please sign in to comment.