Skip to content

Commit

Permalink
Fix issue in release pipeline due to missing token
Browse files Browse the repository at this point in the history
  • Loading branch information
rukmal committed Sep 28, 2022
1 parent 016a089 commit ed843a2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/push.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Global data service push workflow
name: Tests and GraphQL Client Generation

env:
REGISTRY: ghcr.io
Expand Down
9 changes: 4 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,8 @@ jobs:
with:
python-version: "3.10"
# See: https://stackoverflow.com/questions/58177786/get-the-current-pushed-tag-in-github-actions
- name: Set env
- name: Get version number from git tag
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/v}" >> $GITHUB_ENV
- name: Test
run: |
echo $RELEASE_VERSION
echo ${{ env.RELEASE_VERSION }}
- name: Install toml-cli to modify toml file
# See: https://pypi.org/project/toml-cli/
run: |
Expand Down Expand Up @@ -74,6 +70,8 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
ref: main
- name: Build distribution archive of client package
uses: ballerina-platform/ballerina-action@394eb82cc07e020948fee8d1474143ae393147f4
with:
Expand All @@ -86,3 +84,4 @@ jobs:
args: push
env:
WORKING_DIR: client
BALLERINA_CENTRAL_ACCESS_TOKEN: ${{ secrets.BALLERINA_CENTRAL_ACCESS_TOKEN }}

0 comments on commit ed843a2

Please sign in to comment.