Skip to content

Commit

Permalink
skipMore
Browse files Browse the repository at this point in the history
  • Loading branch information
johnhaddon committed Nov 15, 2023
1 parent cc33d6e commit 30c06da
Showing 1 changed file with 28 additions and 28 deletions.
56 changes: 28 additions & 28 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -220,25 +220,25 @@ jobs:
# PYTHONUTF8: 1
# if: matrix.publish

- name: Validate
run: |
echo "::add-matcher::./.github/workflows/main/problemMatchers/validateRelease.json"
python ./config/validateRelease.py --archive ${{ env.GAFFER_BUILD_NAME }}.${{ env.PACKAGE_EXTENSION }} ${{ env.GAFFER_VALIDATE_EXTRA_FLAGS }}
echo "::remove-matcher owner=validateRelease::"
if: matrix.publish
# - name: Validate
# run: |
# echo "::add-matcher::./.github/workflows/main/problemMatchers/validateRelease.json"
# python ./config/validateRelease.py --archive ${{ env.GAFFER_BUILD_NAME }}.${{ env.PACKAGE_EXTENSION }} ${{ env.GAFFER_VALIDATE_EXTRA_FLAGS }}
# echo "::remove-matcher owner=validateRelease::"
# if: matrix.publish

- uses: actions/upload-artifact@v3
with:
name: ${{ env.GAFFER_BUILD_NAME }}
path: ${{ env.GAFFER_BUILD_NAME }}.${{ env.PACKAGE_EXTENSION }}
if: matrix.publish
# - uses: actions/upload-artifact@v3
# with:
# name: ${{ env.GAFFER_BUILD_NAME }}
# path: ${{ env.GAFFER_BUILD_NAME }}.${{ env.PACKAGE_EXTENSION }}
# if: matrix.publish

- name: Publish Release
run: |
python ./config/publishRelease.py --archive ${{ env.GAFFER_BUILD_NAME }}.${{ env.PACKAGE_EXTENSION }} --repo ${{ github.repository }} --releaseId ${{ env.GAFFER_GITHUB_RELEASEID }}
if: matrix.publish && env.GAFFER_GITHUB_RELEASEID != ''
env:
GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# - name: Publish Release
# run: |
# python ./config/publishRelease.py --archive ${{ env.GAFFER_BUILD_NAME }}.${{ env.PACKAGE_EXTENSION }} --repo ${{ github.repository }} --releaseId ${{ env.GAFFER_GITHUB_RELEASEID }}
# if: matrix.publish && env.GAFFER_GITHUB_RELEASEID != ''
# env:
# GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Limit cache size
# GitHub has a limit of 5G for all caches in a repository. Because we write new
Expand All @@ -247,15 +247,15 @@ jobs:
# than the limit we apply here, because they're compressed.
run: python ./.github/workflows/main/limitDirectorySize.py --directory ./sconsCache --megabytes ${{ matrix.sconsCacheMegabytes }} --verbose

- name: Debug Failures
run: |
# Print SCons logs
shopt -s nullglob
for logFile in config.log
do
echo $logFile
cat $logFile
done
if: failure()
shell: bash
# - name: Debug Failures
# run: |
# # Print SCons logs
# shopt -s nullglob
# for logFile in config.log
# do
# echo $logFile
# cat $logFile
# done
# if: failure()
# shell: bash

0 comments on commit 30c06da

Please sign in to comment.