Skip to content

new-version-tag

new-version-tag #10

Workflow file for this run

# this does not do anything other than just checkout the current repo
# and the main GSAS-II repo. It is a test file to see if it can be
# triggered from another repo
# this needs a personal access token, described in GH_token-gen.txt
name: TEST remote-triggered test workflow
on:
#workflow_dispatch: # nice for debugging
repository_dispatch: # run from Web API
jobs:
build:
#name: gsas2pkg build on ${{ matrix.os }}
#runs-on: ${{ matrix.os }}
name: test run on ubuntu-latest
#if: github.event.action == 'compile'
if: github.event.action == 'remote build'
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Get settings
shell: bash -l {0}
run: |
echo "event_type ${{ github.event.action }}"
echo "service ${{ github.event.client_payload.service }}"'
echo "unit ${{ github.event.client_payload.unit }}"'
echo "branch ${{ github.event.branch }}"
# - name: Get GSAS-II sources
# shell: bash -l {0}
# run: |
# git clone --depth 50 https://github.com/AdvancedPhotonSource/GSAS-II.git _gsas2