Build #2
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: Build | |
on: | |
workflow_dispatch: | |
jobs: | |
build-plugin: | |
name: Build plugin | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout source code | |
uses: actions/checkout@v4 | |
- name: Output we are in the current directory | |
run: | | |
ls -al | |
- name: Create a new folder outside root and a file inside that folder | |
run: | | |
mkdir ../elementor | |
touch ../elementor/elementor.php | |
- name: Go to the created folder & check we ar in that directory | |
run: | | |
cd ../elementor | |
ls -al | |
# Now we are in the elementor folder in this step lets | |
# check if we are still in that folder in the next step | |
- name: Check are we still in the same folder | |
run: | | |
ls -al |