Skip to content

Commit

Permalink
Merge pull request #48 from daneshk/main
Browse files Browse the repository at this point in the history
Add new task remove target directory before gradle clean
  • Loading branch information
daneshk authored Feb 6, 2024
2 parents 2351f05 + ca332ec commit 1fd94f4
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ jobs:
runs-on: ubuntu-latest
if: github.repository_owner == 'ballerina-platform'
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v2
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: 17.0.7
Expand Down Expand Up @@ -50,6 +50,10 @@ jobs:
git commit -m "Move dependencies to stable version" || echo "No changes to commit"
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Remove Target Directory
run: |
sudo rm -rf ballerina/target
sudo rm -rf ballerina/build
- name: Publish artifact
env:
BALLERINA_CENTRAL_ACCESS_TOKEN: ${{ secrets.BALLERINA_CENTRAL_ACCESS_TOKEN }}
Expand Down

0 comments on commit 1fd94f4

Please sign in to comment.