Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update action/checkout to v3 #19874

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
12 changes: 6 additions & 6 deletions .github/workflows/buildvue.yml
Expand Up @@ -41,10 +41,10 @@ jobs:
exit 0;
fi

echo ::set-output name=islocalbranch::$BASE == $GITHUB_REPOSITORY
echo ::set-output name=branch::$REF
echo ::set-output name=base::$BASE_SHA
- uses: actions/checkout@v2
echo "islocalbranch=$BASE == $GITHUB_REPOSITORY" >> $GITHUB_OUTPUT
echo "branch=$REF" >> $GITHUB_OUTPUT
echo "base=$BASE_SHA" >> $GITHUB_OUTPUT
- uses: actions/checkout@v3
with:
lfs: false
if: steps.vars.outputs.branch != ''
Expand All @@ -61,7 +61,7 @@ jobs:
exit 0;
fi

echo ::set-output name=vue_modified::1
echo "vue_modified=1" >> $GITHUB_OUTPUT
if: steps.vars.outputs.branch != ''
- name: Setup PHP
uses: shivammathur/setup-php@v2
Expand Down Expand Up @@ -132,7 +132,7 @@ jobs:
if [[ ! ${{ steps.vars.outputs.islocalbranch }} ]]
then
echo "It's only possible to update local branches automatically. Adding a comment instead."
echo ::set-output name=failure::1
echo "failure=1" >> $GITHUB_OUTPUT
else
cd $GITHUB_WORKSPACE
git add plugins/*/vue/dist/*.js plugins/*/vue/dist/*.json
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/phpcs.yml
Expand Up @@ -19,7 +19,7 @@ jobs:
name: PHPCS
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Install dependencies
run: composer install --dev --prefer-dist --no-progress --no-suggest
- name: Setup PHP
Expand All @@ -28,4 +28,4 @@ jobs:
php-version: '7.2'
tools: cs2pr
- name: Run phpcs
run: ./vendor/bin/phpcs -q --report=checkstyle | cs2pr
run: ./vendor/bin/phpcs -q --report=checkstyle | cs2pr