From 8c04e738ac78a7a84bfdb7ac14956eb647b2e9f1 Mon Sep 17 00:00:00 2001 From: Batsirai Muchareva <162136788+Batsirai-muchareva@users.noreply.github.com> Date: Tue, 20 Aug 2024 15:56:07 +0200 Subject: [PATCH] Create build.yml create a build action --- .github/workflows/build.yml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..40a8dfe --- /dev/null +++ b/.github/workflows/build.yml @@ -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