Merge branch 'main' into update-for-ga

This commit is contained in:
Ethan Dennis
2023-02-28 16:02:34 -08:00
committed by GitHub
7 changed files with 27 additions and 10 deletions
+2 -2
View File
@@ -14,7 +14,7 @@ jobs:
unit-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ env.ruby_version }}
@@ -25,7 +25,7 @@ jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ env.ruby_version }}
+3 -3
View File
@@ -47,7 +47,7 @@ jobs:
repo: context.repo.repo,
labels: ['actions-importer-running']
})
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7.1
@@ -89,7 +89,7 @@ jobs:
path=$(ls output/log/*.log | head -1)
filename=$(basename "$path")
echo "LOG_FILE_PATH=$path" >> $GITHUB_ENV
echo "::set-output name=filename::$filename"
echo "filename=$filename" >> $GITHUB_OUTPUT
- uses: actions/upload-artifact@v2
if: always()
with:
@@ -200,7 +200,7 @@ jobs:
run: |
pullRequest=$(grep "${{ env.pullRequestPattern }}" ${{ needs.execute-actions-importer.outputs.log-filename }} | sed -rn "s/^.*${{ env.pullRequestPattern }}'(.+)'.*$/\1/p")
echo $pullRequest
echo ::set-output name=output::$pullRequest
echo "output=$pullRequest" >> $GITHUB_OUTPUT
env:
pullRequestPattern: "Pull request: "
- uses: actions/github-script@v6