Skip to content

Commit

Permalink
Merge branch 'alpha' into feature/mithril-build
Browse files Browse the repository at this point in the history
  • Loading branch information
TrevorBenson authored Oct 23, 2023
2 parents 78a556a + a1c37b6 commit 8dedd00
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/premerge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,18 @@ jobs:
- name: Maximize build space
uses: easimon/maximize-build-space@master
with:
root-reserve-mb: 512
root-reserve-mb: 30720
swap-size-mb: 1024
remove-dotnet: 'true'
remove-android: 'true'
remove-haskell: ' true'
remove-codeql: 'true'
- name: Provide additional free space
run: |
# Workaround to provide additional free space for builds
# https://github.com/actions/virtual-environments/issues/2840
sudo rm -rf /usr/share/dotnet /usr/local/lib/android /opt/ghc /usr/local/share/boost "$AGENT_TOOLSDIRECTORY"
df -h
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
Expand All @@ -41,7 +48,7 @@ jobs:
- name: Define BRANCH, COMMIT and G_ACCOUNT in environment
run: |
echo "G_ACCOUNT=${GITHUB_REPOSITORY_OWNER,,}" >> $GITHUB_ENV
if [[ -z ${{ env.BRANCH }} ]]; then
if [[ -z "${{ env.BRANCH }}" ]]; then
echo "BRANCH=${GITHUB_HEAD_REF}" >> $GITHUB_ENV
echo "COMMIT=$(git rev-parse --short "$GITHUB_SHA")" >> $GITHUB_ENV
else
Expand Down

0 comments on commit 8dedd00

Please sign in to comment.