Skip to content

Commit

Permalink
new Action
Browse files Browse the repository at this point in the history
  • Loading branch information
bomoko committed Sep 15, 2020
1 parent 5deaae8 commit 9238f28
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/testbuild.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Testing build - no release

on:
workflow_dispatch:

jobs:
build:
name: Build
runs-on: ubuntu-latest

steps:
- name: Get tag
id: get-tag
run: echo ::set-output name=tag::${GITHUB_REF#refs/tags/}

- name: Build Drutiny Phar
id: drutiny-build
uses: AmazeeLabs/[email protected]
with:
tag-ref: ${{ steps.get-tag.outputs.tag }}
composer-packages: "bomoko/algm_drutiny_profile:dev-master, bomoko/lagoon-formatter:dev-master"
composer-repos: "bomoko/algm_drutiny_plugin vcs https://github.com/AmazeeLabs/algm_drutiny.git"

- name: Change Directory
run: cd ./drutiny && ls -la

- name: 'Echo download path'
run: echo ${{steps.drutiny-build.outputs.phar}}

- name: Upload phar as artifact
uses: actions/upload-artifact@v2
with:
name: phar
path: "**/*drutiny*.phar"

0 comments on commit 9238f28

Please sign in to comment.