-
Notifications
You must be signed in to change notification settings - Fork 52
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 our GitHub Action Workflows #810
base: develop
Are you sure you want to change the base?
Conversation
…we cache composer dependencies to make things faster
…have changed. Also only run PHPCS on changed lines of PHP files, not the entire file
@@ -31,6 +32,6 @@ jobs: | |||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |||
with: | |||
upload_url: ${{ github.event.release.upload_url }} | |||
asset_path: ${{github.workspace}}/classifai.zip | |||
asset_path: ${{ github.workspace }}/classifai.zip |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lol is it this spacing that was breaking releases not including the classifai.zip file?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I doubt it but I guess we'll see 🤷🏻
@@ -18,6 +19,6 @@ jobs: | |||
runs-on: ubuntu-latest | |||
steps: | |||
- name: WordPress version checker | |||
uses: skaut/wordpress-version-checker@v2.0.0 | |||
uses: skaut/wordpress-version-checker@v2.2.1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
any reason to just truncate that to v2
and get all minor updates along the way?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I initially tried that but there isn't a valid v2
release to make that work. If you try to go to https://github.com/skaut/wordpress-version-checker/tree/v2/ it will 404, so the only thing I could get to work was the specific release number
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Workflow file updates look good to me, will defer to @10up/open-source-practice for someone to validate the includes
file changes
Description of the Change
This PR brings various updates to our GitHub Action Workflows:
How to test the Change
Ensure all Actions run properly on this PR
Changelog Entry
Credits
Props @dkotter
Checklist: