Skip to content

Commit

Permalink
Add Github action definition
Browse files Browse the repository at this point in the history
  • Loading branch information
tjurtsch committed Dec 21, 2020
1 parent 7547186 commit 855ddc9
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: 'Package build'
description: 'Build a package'
runs:
using: "composite"
steps:
- name: build
run: |
if [ $SKIP ]; then
exit 0;
fi
export PATH="$PATH:/c/ProgramData/Chocolatey/bin/"
export PATH="$PATH:/c/Program Files/Git/usr/bin/"
source .github/scripts/common.sh
bash .github/scripts/fixup-git.sh
bash .github/scripts/download_sdk.sh
source .github/scripts/common.sh
bash .github/scripts/install.sh
set -x
bash .github/scripts/script.sh
shell: bash
- name: on_success
if: success()
run: |
source .github/scripts/after_success.sh
shell: bash
- name: on_failure
if: failure()
run: |
source .github/scripts/after_failure.sh
shell: bash

0 comments on commit 855ddc9

Please sign in to comment.