Skip to content
This repository has been archived by the owner on Jan 17, 2024. It is now read-only.

Commit

Permalink
Revert "test"
Browse files Browse the repository at this point in the history
This reverts commit 2a5f8b9.
  • Loading branch information
tamaina committed Jan 17, 2024
1 parent 2a5f8b9 commit b93a576
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@ jobs:
name: "Dispatch Release"
steps:
- uses: actions/checkout@v4
with:
ref: refs/pull/${{ needs.get-prs.outputs.pr_number }}/merge
- name: git config
run: |
git config --local user.email "[email protected]"
Expand All @@ -42,6 +40,12 @@ jobs:
run: |
PR_JSON=$(gh pr view ${{ needs.get-prs.outputs.pr_number }} --json isDraft,headRefName)
echo "PR_IS_DRAFT=$(echo $PR_JSON | jq -r '.isDraft')" >> $GITHUB_OUTPUT
echo "PR_HEAD_REF=$(echo $PR_JSON | jq -r '.headRefName')" >> $GITHUB_OUTPUT
id: get_pr
# checkout PR
- uses: actions/checkout@v4
with:
ref: ${{ steps.get_pr.outputs.PR_HEAD_REF }}
# jqでpackage.jsonから現在のバージョンを取得
- name: Get current version
run: |
Expand Down

0 comments on commit b93a576

Please sign in to comment.