Skip to content

Commit

Permalink
last use-test
Browse files Browse the repository at this point in the history
  • Loading branch information
boozook committed Sep 12, 2023
1 parent 6cf8490 commit 4a0b0f0
Showing 1 changed file with 4 additions and 14 deletions.
18 changes: 4 additions & 14 deletions .github/workflows/update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ jobs:
with:
branch: refs/heads/${{ steps.work_branch.outputs.value }}
sha: ${{ github.event.inputs.sha || github.sha }}

- name: Created
run: 'echo "Created: ${{ steps.branch.outputs.created }}"'

Expand Down Expand Up @@ -127,7 +128,7 @@ jobs:
echo "I: SDK version: ${{ github.event.inputs.sdk }}"
echo "M: SDK version: ${{ matrix.sdk }}"
echo "Base branch: ${{ needs.new-branch.outputs.base }}"
echo "Base branch: ${{ needs.new-branch.outputs.working }}"
echo "Working branch: ${{ needs.new-branch.outputs.working }}"
- uses: actions/checkout@v4
with:
Expand Down Expand Up @@ -210,29 +211,18 @@ jobs:
- name: Inputs
run: |
echo "Base branch: ${{ needs.new-branch.outputs.base }}"
echo "Base branch: ${{ needs.new-branch.outputs.working }}"
echo "Working branch: ${{ needs.new-branch.outputs.working }}"
- uses: actions/checkout@v4
with:
ref: ${{ needs.new-branch.outputs.working }}

- name: Determine Base Branch
id: branch
if: ${{ github.ref_type == 'branch' }}
run: echo "value=${{ github.ref_name }}" >> "$GITHUB_OUTPUT"

- name: Base
run: |
echo "determined: ${{ steps.branch.outputs.value }}"
echo "to: ${{ steps.branch.outputs.value || github.event.repository.default_branch }}"
- name: Create PR
if: false
uses: TreTuna/[email protected]
with:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
FROM_BRANCH: refs/heads/${{ needs.new-branch.outputs.working }}
TO_BRANCH: ${{ steps.branch.outputs.value || github.event.repository.default_branch }}
TO_BRANCH: ${{ needs.new-branch.outputs.base || github.event.repository.default_branch }}
PULL_REQUEST_TITLE: Update pre-built bindings
PULL_REQUEST_BODY: |
Pre-built bindings just updated.
Expand Down

0 comments on commit 4a0b0f0

Please sign in to comment.