From dd9779172c8194d50932501f72f220ea05f2043b Mon Sep 17 00:00:00 2001 From: Miran Kurukulasuriya Date: Thu, 29 Jun 2023 13:14:24 +0530 Subject: [PATCH] Test 2 --- .github/workflows/publish-release.yml | 30 +++++++++++++-------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/.github/workflows/publish-release.yml b/.github/workflows/publish-release.yml index 151e43094d..3170c3c0e4 100644 --- a/.github/workflows/publish-release.yml +++ b/.github/workflows/publish-release.yml @@ -65,24 +65,24 @@ jobs: git commit -m "Update UUID for installer" - name: Grant execute permission for gradlew run: chmod +x gradlew - - name: Publish artifact - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - packageUser: ${{ github.actor }} - packagePAT: ${{ secrets.GITHUB_TOKEN }} -# devCentralToken: ${{ secrets.BALLERINA_DEV_CENTRAL_ACCESS_TOKEN }} -# ballerinaBotWorkflow: $ {{ secrets.BALLERINA_BOT_WORKFLOW }} - run: | - ./gradlew build -Pversion=${VERSION} -x centralTests -x test - ./gradlew release -Prelease.useAutomaticVersion=true -x test +# - name: Publish artifact +# env: +# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} +# packageUser: ${{ github.actor }} +# packagePAT: ${{ secrets.GITHUB_TOKEN }} +# # devCentralToken: ${{ secrets.BALLERINA_DEV_CENTRAL_ACCESS_TOKEN }} +# # ballerinaBotWorkflow: $ {{ secrets.BALLERINA_BOT_WORKFLOW }} +# run: | +# ./gradlew build -Pversion=${VERSION} -x centralTests -x test +# ./gradlew release -Prelease.useAutomaticVersion=true -x test - name: Checkout docker repo uses: actions/checkout@v2 with: repository: ballerina-platform/module-ballerina-docker path: module-ballerina-docker - - name: Copy zip artifact - run: cp ballerina/build/distributions/ballerina-22*.zip module-ballerina-docker/base/docker/ - # - name: Set up QEMU + # - name: Copy zip artifact + # run: cp ballerina/build/distributions/ballerina-22*.zip module-ballerina-docker/base/docker/ + # # - name: Set up QEMU # uses: docker/setup-qemu-action@v1 # - name: Set up Docker Buildx # uses: docker/setup-buildx-action@v1 @@ -124,8 +124,8 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | - gh repo view ballerina-platform/ballerina-dev-website --json url --jq '.clone_url' - gh api repos/ballerina-platform/ballerina-dev-website/contents/downloads/verification-notes/release-artifacts-verification.md -H 'Accept: application/vnd.github.v3.raw' > release_notes.md + gh repo view Miranlfk/ballerina-dev-website --json url --jq '.clone_url' + gh api repos/Miranlfk/ballerina-dev-website/contents/downloads/verification-notes/release-artifacts-verification.md -H 'Accept: application/vnd.github.v3.raw' > release_notes.md - name: Update Markdown file run: | branchName=$(echo ${{ github.ref }} | cut -d'/' -f3)