Skip to content

Commit

Permalink
Create build.yml
Browse files Browse the repository at this point in the history
create a build action
  • Loading branch information
Batsirai-muchareva authored Aug 20, 2024
1 parent 8e4b42b commit 8c04e73
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Build

on:
workflow_dispatch:

jobs:
build-plugin:
name: Build plugin
runs-on: ubuntu-22.04
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
run: |
cd ../elementor
# 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

0 comments on commit 8c04e73

Please sign in to comment.