new-version-tag #10
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 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 |