Skip to content

Commit

Permalink
Test 2
Browse files Browse the repository at this point in the history
  • Loading branch information
Miranlfk committed Jun 29, 2023
1 parent 77da8a6 commit dd97791
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit dd97791

Please sign in to comment.