Skip to content

Commit

Permalink
fix release
Browse files Browse the repository at this point in the history
  • Loading branch information
northsea4 committed Jan 13, 2024
1 parent 38cb18f commit e432ccd
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ on:

env:
PYTHON_VERSION: '3.10'
MACOS_BUNDLE_ID: com.mdcuniverse.mdcx
MACOS_BUNDLE_ID: com.mdcxuniverse.mdcx

jobs:
init-matrix:
Expand Down Expand Up @@ -72,12 +72,12 @@ jobs:
matrix:
include: ${{fromJson(needs.init-matrix.outputs.matrix)}}
steps:
- name: Set env
run: |
# 如果是release触发的workflow,则获取release的tag,作为版本号
if [[ ${{ github.event_name }} == "release" ]]; then
echo "RELEASE_TAG=${{ github.event.release.tag_name }}" >> $GITHUB_ENV
fi
# - name: Set env
# run: |
# # 如果是release触发的workflow,则获取release的tag,作为版本号
# if [[ "${{ github.event_name }}" == "release" ]]; then
# echo "RELEASE_TAG=${{ github.event.release.tag_name }}" >> $GITHUB_ENV
# fi
- name: Checkout code
uses: actions/checkout@v2

Expand Down

0 comments on commit e432ccd

Please sign in to comment.