diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 94e5821..3fdd755 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -20,6 +20,9 @@ jobs: java-version: 17 distribution: temurin + - name: Set tag variable + run: echo "TAG=$(echo ${GITHUB_REF:10})" >> $GITHUB_ENV + - name: Install jq run: sudo apt-get install -y jq @@ -49,9 +52,6 @@ jobs: - name: Copying custom app configuration into Kiwix Android code base run: ./copy_files_to_kiwix_android.sh - - name: Set tag variable - run: echo "TAG=$(echo ${GITHUB_REF:10})" >> $GITHUB_ENV - - name: Set non-kiwix organization tag run: | non_kiwix_organization_tag="PLAYSTORE_JSON_${TAG^^}" @@ -108,6 +108,9 @@ jobs: java-version: 17 distribution: temurin + - name: Set tag variable + run: echo "TAG=$(echo ${GITHUB_REF:10})" >> $GITHUB_ENV + - name: Install jq run: sudo apt-get install -y jq @@ -137,9 +140,6 @@ jobs: - name: Copying custom app configuration into Kiwix Android code base run: ./copy_files_to_kiwix_android.sh - - name: Set tag variable - run: echo "TAG=$(echo ${GITHUB_REF:10})" >> $GITHUB_ENV - - name: Should upload dummy Bundle run: | cd ${TAG}