diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 7459c32..bf5432c 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -1,4 +1,4 @@ -name: Global data service push workflow +name: Tests and GraphQL Client Generation env: REGISTRY: ghcr.io diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 39f6dee..b5016cf 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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: | @@ -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: @@ -86,3 +84,4 @@ jobs: args: push env: WORKING_DIR: client + BALLERINA_CENTRAL_ACCESS_TOKEN: ${{ secrets.BALLERINA_CENTRAL_ACCESS_TOKEN }}