Bump actions/upload-artifact from 3 to 4 #69
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Generate MO files for I18n | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Build MO files | |
run: | | |
curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar | |
php wp-cli.phar i18n make-mo languages | |
rm wp-cli.phar | |
- name: Upload theme | |
uses: actions/upload-artifact@v4 | |
with: | |
name: rotaract-family | |
path: | | |
/home/runner/work/rotaract-family | |
!/home/runner/work/rotaract-family/rotaract-family/.* |