|
6 | 6 | clean-branch:
|
7 | 7 | runs-on: ubuntu-latest
|
8 | 8 | steps:
|
9 |
| - - uses: actions/checkout@v2 |
10 |
| - - name: Get current date |
11 |
| - id: date |
12 |
| - run: echo "::set-output name=date::$(date +'%a-%Y-%m-%d')" |
13 |
| - - name: Get libtiledb short SHA |
14 |
| - run: echo "LIBTILEDB_SHA=$(git ls-remote https://github.com/TileDB-Inc/TileDB HEAD | cut -c1-7)" >> $GITHUB_ENV |
15 |
| - - name: Clean Up Test Branch |
16 |
| - uses: dawidd6/action-delete-branch@v3 |
17 |
| - with: |
18 |
| - github_token: ${{ secrets.GITHUB_TOKEN }} |
19 |
| - branches: 'azure-wheel-test-${{ steps.date.outputs.date }}-against-${{ env.LIBTILEDB_SHA }}' |
| 9 | + - uses: actions/checkout@v2 |
| 10 | + - name: Get current date |
| 11 | + id: date |
| 12 | + run: echo "::set-output name=date::$(date +'%a-%Y-%m-%d')" |
| 13 | + - name: Get libtiledb short SHA |
| 14 | + run: echo "LIBTILEDB_SHA=$(git ls-remote https://github.com/TileDB-Inc/TileDB HEAD | cut -c1-7)" >> $GITHUB_ENV |
| 15 | + - name: Clean Up Test Branch |
| 16 | + uses: dawidd6/action-delete-branch@v3 |
| 17 | + with: |
| 18 | + github_token: ${{ secrets.GITHUB_TOKEN }} |
| 19 | + branches: "azure-wheel-test-${{ steps.date.outputs.date }}-against-${{ env.LIBTILEDB_SHA }}" |
20 | 20 |
|
21 | 21 | notify-fail:
|
22 | 22 | if: github.event.action == 'failed'
|
23 | 23 | runs-on: ubuntu-latest
|
24 | 24 | steps:
|
25 |
| - - uses: actions/checkout@v2 |
26 |
| - - name: Create Issue if Build Fails |
27 |
| - uses: JasonEtco/create-an-issue@v2 |
28 |
| - env: |
29 |
| - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
30 |
| - AZURE_BUILD_ID: ${{ github.event.client_payload.build_id }} |
31 |
| - with: |
32 |
| - filename: .github/workflows/issue-if-azure-fail-template.md |
33 |
| - |
| 25 | + - uses: actions/checkout@v2 |
| 26 | + - name: Create Issue if Build Fails |
| 27 | + uses: JasonEtco/create-an-issue@v2 |
| 28 | + env: |
| 29 | + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
| 30 | + AZURE_BUILD_ID: ${{ github.event.client_payload.data.build_id }} |
| 31 | + with: |
| 32 | + filename: .github/workflows/issue-if-azure-fail-template.md |
0 commit comments