Skip to content

Updating based on rebase #24

Updating based on rebase

Updating based on rebase #24

Workflow file for this run

name: setup-tar-creation
on:
workflow_dispatch:
push:
branches:
- km/add_tar_file
env:
REGISTRY: ghcr.io/microsoft
jobs:
build-tar-file:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v2
- uses: microsoft/azure-orbital-space-sdk-github-actions/composite-actions/initialize@km/add_structure
with:
env_file: ./env/spacefx.env
token: ${{ secrets.GITHUB_TOKEN }}
- name: Build and package tar file
shell: bash
run: |
echo "Copying to /var/spacedev/"
bash ./.vscode/copy_to_spacedev.sh
echo "Running ./.vscode/build_setup_tarball.sh"
bash ./.vscode/build_setup_tarball.sh
sub_exit_code=${PIPESTATUS[0]}
if [[ $sub_exit_code -gt 0 ]]; then
echo "Previous step failed. Troubleshoot"
echo "Outputting log file..."
cat /var/spacedev/logs/build_setup_tarball.sh.log
echo ""
exit 1
fi