Skip to content

Commit

Permalink
debug github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
tamada committed Jul 14, 2023
1 parent bf4a85e commit e0f8f11
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@ jobs:
with:
infile: coverage.out
outfile: coverage.lcov
if: "matrix.os == 'ubuntu-latest'"
if: ${{ matrix.os == 'ubuntu-latest' }}

- name: Send coverage to coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.github_token }}
path-to-lcov: coverage.lcov
if: "matrix.os == 'ubuntu-latest'"
if: ${{ matrix.os == 'ubuntu-latest' }}
2 changes: 2 additions & 0 deletions .github/workflows/create_pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,15 @@ jobs:
echo "tag=${TAG}" >> $GITHUB_OUTPUT
COMMIT_MESSAGE=$(echo "${HEAD_MESSAGE}" | sed -n -e 1p)
echo "message=${COMMIT_MESSAGE}" >> "$GITHUB_OUTPUT"
echo "tag: ${TAG}, check pr: $(gh pr list -S "Release v${TAG}"in:title)"
echo "count=$(gh pr list -S "Release v${TAG}"in:title | wc -l)" >> "$GITHUB_OUTPUT"
- name: Create Release Pull Request
if: ${{ steps.check_pr.outputs.count == 0 }}
env:
GH_TOKEN: ${{ github.token }}
run: |
echo "count: ${{ steps.check_pr.outputs.count }}"
gh pr create \
-B main \
-t 'Release v${{ steps.check_pr.outputs.tag }} ${{ steps.check_pr.outputs.message }}' \
Expand Down

0 comments on commit e0f8f11

Please sign in to comment.