Skip to content

Commit

Permalink
Merge pull request #2581 from NipunaMadhushan/maintain-daily-build
Browse files Browse the repository at this point in the history
Update 2201.8.x Daily Full Build
  • Loading branch information
NipunaMadhushan authored Nov 15, 2023
2 parents 6eec11e + 9b7aff5 commit 5428da3
Showing 1 changed file with 4 additions and 14 deletions.
18 changes: 4 additions & 14 deletions .github/workflows/daily-full-build-2201.8.x.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
distribution: 'temurin'
java-version: '17.0.7'
- name: Build ballerina-lang
run: python -u dependabot/full_build_pipeline.py ./ --lang-branch 2201.8.0-stage --build-level 0
run: python -u dependabot/full_build_pipeline.py ./ --lang-branch $PATCH_LEVEL --build-level 0
env:
packageUser: ${{ secrets.BALLERINA_BOT_USERNAME }}
packagePAT: ${{ secrets.BALLERINA_BOT_TOKEN }}
Expand Down Expand Up @@ -110,7 +110,7 @@ jobs:
- name: Build Standard Libraries & Tools
run: |
python -u dependabot/full_build_pipeline.py ./ --lang-version ${{ needs.build-lang.outputs.lang-version }} \
--update-stdlib-dependencies --skip-build-distribution --continue-on-error --remove-after-build
--build-released-versions --patch-level $PATCH_LEVEL --skip-build-distribution --continue-on-error --remove-after-build
env:
packageUser: ${{ secrets.BALLERINA_BOT_USERNAME }}
packagePAT: ${{ secrets.BALLERINA_BOT_TOKEN }}
Expand All @@ -119,11 +119,6 @@ jobs:
CLIENT_SECRET: ${{ secrets.CLIENT_SECRET }}
REFRESH_TOKEN: ${{ secrets.REFRESH_TOKEN }}
TEST_MODE_ACTIVE: true
- name: Archive Standard Library Artifacts
uses: actions/upload-artifact@v2
with:
name: Standard Library Artifacts
path: ~/.m2/
- name: Notify Build Failure
if: ${{ failure() }}
shell: bash
Expand All @@ -142,7 +137,7 @@ jobs:

build-distribution:
name: Build ballerina-distribution
needs: [build-lang, build-stdlibs]
needs: build-lang
runs-on: ubuntu-latest
timeout-minutes: 150
steps:
Expand Down Expand Up @@ -171,15 +166,10 @@ jobs:
with:
name: Ballerina Lang Artifacts
path: ~/.m2/
- name: Download Standard Library Artifacts
uses: actions/download-artifact@v2
with:
name: Standard Library Artifacts
path: ~/.m2/
- name: Build ballerina-distribution
run: |
python -u dependabot/full_build_pipeline.py ./ --lang-version ${{ needs.build-lang.outputs.lang-version }} \
--update-stdlib-dependencies --build-level $DISTRIBUTION_BUILD_LEVEL --continue-on-error
--patch-level $PATCH_LEVEL --build-level $DISTRIBUTION_BUILD_LEVEL --continue-on-error
env:
packageUser: ${{ secrets.BALLERINA_BOT_USERNAME }}
packagePAT: ${{ secrets.BALLERINA_BOT_TOKEN }}
Expand Down

0 comments on commit 5428da3

Please sign in to comment.