Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
lee-ji-hoon committed Sep 27, 2024
1 parent 7772fa1 commit d34d80e
Showing 1 changed file with 3 additions and 32 deletions.
35 changes: 3 additions & 32 deletions .github/workflows/deploy_google_play_store.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,11 @@ on:
branches:
- develop
- feature/google-play-store # 테스트 끝나면 main 브랜치로 변경 필요 4
- test-cd-2 # test
- test-cd-2 # test

jobs:
versioning:
# if: github.event.pull_request.merged == true
versioning_and_release:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v4
Expand All @@ -32,22 +31,6 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Check PR body
run: |
echo "PR Body: ${{ github.event.pull_request.body }}"
- name: Check ref
run: |
echo "PR ref: ${{ github.ref }} && Pr Head ref ${{ github.head_ref }}"
- name: Check latest PR comment
run: |
PR_NUMBER=${{ github.event.pull_request.number }}
LAST_COMMENT=$(gh pr view $PR_NUMBER --comments --json comments --jq '.comments[-1].body')
echo "Last comment: $LAST_COMMENT"
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Determine Version Release Type
id: version_type
run: |
Expand Down Expand Up @@ -120,18 +103,6 @@ jobs:
git tag -a "v$version_name" -m "Version $version_name"
git push origin "v$version_name"
release_to_play_store:
needs: versioning # 버전 업데이트가 완료된 후 실행
runs-on: ubuntu-latest
environment: Release
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Get Updated App Version
id: get-updated-version
uses: ./.github/actions/get-app-version

- name: Setup Development Environment
uses: ./.github/actions/setup-development-environment
with:
Expand Down

0 comments on commit d34d80e

Please sign in to comment.