Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/scripts/06-package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ OS=${1}
GITHUB_WORKSPACE=${2}
GITHUB_BASE_REF=${3}

echo "----------------------------------------"
env
echo "----------------------------------------"

if [[ ! ${OS} || ! ${GITHUB_WORKSPACE} || ! ${GITHUB_BASE_REF} ]]; then
echo "Error: Invalid options"
echo "Usage: ${0} <operating system> <github workspace path> <github base ref>"
Expand All @@ -28,10 +32,6 @@ if [[ ! -e ${RELEASE_LOCATION} ]]; then
mkdir -p ${RELEASE_LOCATION}
fi

echo "----------------------------------------"
env
echo "----------------------------------------"

echo "----------------------------------------"
echo "GITHUB_BASE_REF: ${GITHUB_BASE_REF}"
echo "----------------------------------------"
Expand Down
9 changes: 4 additions & 5 deletions .github/workflows/build-raven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ name: Build Raven

on:
push:
tags:
- v*
branches:
- release*
pull_request:
branches:
- develop
Expand All @@ -15,8 +15,7 @@ on:
- 'whitepaper/**'
- 'binaries/**'
- 'contrib/**'
tags:
- v*

env:
SCRIPTS: ${{ GITHUB.WORKSPACE }}/.github/scripts
AWS_S3_ENABLE: ${{ secrets.AWS_S3_ENABLE }}
Expand Down Expand Up @@ -55,7 +54,7 @@ jobs:
run: ${SCRIPTS}/05-binary-checks.sh ${{ MATRIX.OS }} ${{ GITHUB.WORKSPACE }}

- name: Package Up the Build
run: ${SCRIPTS}/06-package.sh ${{ MATRIX.OS }} ${{ GITHUB.WORKSPACE }} ${{ GITHUB.BASE_REF }}
run: ${SCRIPTS}/06-package.sh ${{ MATRIX.OS }} ${{ GITHUB.WORKSPACE }} ${{ GITHUB.BASE_REF }} ${{ GITHUB.REF }}

- name: Upload Build to the Nightly Site
if: env.AWS_S3_ENABLE == 'true'
Expand Down