diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index 5638a8d..cad1f2c 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -29,6 +29,8 @@ jobs: - name: Build Application run: | echo $SECRETS_TAR_GZ_B64 | base64 -d | tar -xz -C fastlane + # open secrets | remove blanks | grab values |strip quotes| add the mask command | redact from GitHub Actions logs + cat fastlane/.env | grep -v '^\s*$' | cut -d "=" -f 2 | tr -d '"' | awk '{print "::add-mask::"$0}' | xargs -n1 echo bundle exec fastlane android build env: SECRETS_TAR_GZ_B64: ${{ secrets.SECRETS_TAR_GZ_B64 }} diff --git a/.github/workflows/ios.yml b/.github/workflows/ios.yml index fcda007..90eadef 100644 --- a/.github/workflows/ios.yml +++ b/.github/workflows/ios.yml @@ -38,6 +38,8 @@ jobs: - name: Build Application run: | echo $SECRETS_TAR_GZ_B64 | base64 -d | tar -xz -C fastlane + # open secrets | remove blanks | grab values |strip quotes| add the mask command | redact from GitHub Actions logs + cat fastlane/.env | grep -v '^\s*$' | cut -d "=" -f 2 | tr -d '"' | awk '{print "::add-mask::"$0}' | xargs -n1 echo bundle exec fastlane ios build || cat ${{ env.FASTLANE_LOG_PATH }} && exit 1 env: SECRETS_TAR_GZ_B64: ${{ secrets.SECRETS_TAR_GZ_B64 }}