Skip to content

Commit d2b8bb4

Browse files
Merge pull request erlang#10823 from garazdawi/lukas/gh/small-fixes
Polish GH actions OTP-20033
2 parents 40e86d5 + 3953263 commit d2b8bb4

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

.github/workflows/main.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@ jobs:
6262

6363
check-files:
6464
name: Check modified files for errors
65+
if: github.event_name == 'pull_request'
6566
runs-on: ubuntu-latest
66-
if: github.repository == 'erlang/otp' && github.event_name == 'pull_request'
6767
steps:
6868
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
6969
with:
@@ -85,6 +85,7 @@ jobs:
8585
fi
8686
8787
- name: Detect modified BEAM files
88+
if: github.repository == 'erlang/otp'
8889
env:
8990
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
9091
PR_AUTHOR: ${{ github.event.pull_request.user.login }}
@@ -575,6 +576,7 @@ jobs:
575576
with:
576577
usesh: true
577578
copyback: false
579+
disable-cache: true
578580
prepare: |
579581
pkg update
580582
pkg upgrade -y
@@ -604,6 +606,7 @@ jobs:
604606
with:
605607
usesh: true
606608
copyback: false
609+
disable-cache: true
607610
prepare: |
608611
pkg_add -I bash gmake gtar autoconf ncurses pkgconf
609612
run: |
@@ -620,7 +623,7 @@ jobs:
620623
name: Build Erlang/OTP (Solaris)
621624
runs-on: ubuntu-latest
622625
needs: pack
623-
if: needs.pack.outputs.build-c-code == 'true'
626+
if: needs.pack.outputs.build-c-code == 'true' && false # Temporarily disable Solaris build as the VM image is currently broken
624627
steps:
625628
- name: Download source archive
626629
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
@@ -631,6 +634,7 @@ jobs:
631634
with:
632635
usesh: true
633636
copyback: false
637+
disable-cache: true
634638
prepare: |
635639
pkg refresh --full && pkg install --accept bash developer/build/gnu-make archiver/gnu-tar autoconf ncurses developer/build/pkg-config developer/gcc
636640
run: |

0 commit comments

Comments
 (0)