Skip to content

Commit

Permalink
one more edit
Browse files Browse the repository at this point in the history
  • Loading branch information
wkelly17 committed Jan 7, 2025
1 parent c1c40d3 commit cbc61e1
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/mac_store_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,14 @@ jobs:
input_string: ${{ env.CI_REF_NAME }}
version_extractor_regex: "v(.*)$"
if: contains( github.ref, 'refs/tags/v' )
# todo: delete this job once i know it works
- name: set version var for tags and update path for releases
id: tagged
run: |
echo "GHA_VERSION=${{ steps.semver_parser.outputs.fullversion }}" >> $GITHUB_ENV && \
echo "UPDATE_PATH=release" >> $GITHUB_ENV && \
echo "PRERELEASE_BOOL=false" >> $GITHUB_ENV
if: contains( github.ref, 'refs/tags/v' )
# todo: delete this not-tags job once i know it works
- name: set version var for not-tags and upload dir for branches
run: |
echo "GHA_VERSION=$(cat VERSION)" >> $GITHUB_ENV && \
Expand All @@ -33,6 +40,7 @@ jobs:
UPDATE_PATH: ${{ steps.output_env_vars_step.outputs.UPDATE_PATH }}
PRERELEASE_BOOL: ${{ steps.output_env_vars_step.outputs.PRERELEASE_BOOL }}
S3_DESTINATION: ${{ steps.output_env_vars_step.outputs.S3_DESTINATION }}
IS_RELEASE: ${{ steps.tagged.outcome != 'skipped' }}

build:
runs-on: ubuntu-20.04
Expand Down

0 comments on commit cbc61e1

Please sign in to comment.