diff --git a/.github/workflows/build-linux.yaml b/.github/workflows/build-linux.yaml index 3fadba84..5525934b 100644 --- a/.github/workflows/build-linux.yaml +++ b/.github/workflows/build-linux.yaml @@ -18,8 +18,9 @@ jobs: - name: Get version tag (unix) if: matrix.platform != 'windows-2019' id: version - # run: echo "::set-output name=tag::${GITHUB_SHA}" - run: echo "::set-output name=tag::v-3.0.1-alpha-"$(date +%Y%m%d)" + run: | + export MEDICT_BUILD_VER="v-3.0.1-alpha-"$(date +%Y%m%d%H%M) + echo "::set-output name=tag::${MEDICT_BUILD_VER}" - name: Inall pnpm uses: pnpm/action-setup@v2 diff --git a/.github/workflows/build-macos-x86_64.yaml b/.github/workflows/build-macos-x86_64.yaml index 174c8fb7..1eb2c516 100644 --- a/.github/workflows/build-macos-x86_64.yaml +++ b/.github/workflows/build-macos-x86_64.yaml @@ -18,7 +18,9 @@ jobs: - name: Get version tag (unix) if: matrix.platform != 'windows-2019' id: version - run: echo "::set-output name=tag::v-3.0.1-alpha-"$(date +%Y%m%d)" + run: | + export MEDICT_BUILD_VER="v-3.0.1-alpha-"$(date +%Y%m%d%H%M) + echo "::set-output name=tag::${MEDICT_BUILD_VER}" - name: Inall pnpm uses: pnpm/action-setup@v2