Fix go cache

This commit is contained in:
Ian VanSchooten 2024-10-22 10:46:32 -04:00
parent 9cb9018208
commit 836d2a45bf
2 changed files with 18 additions and 14 deletions

View File

@ -11,10 +11,16 @@ jobs:
runs-on: macos-latest runs-on: macos-latest
steps: steps:
- name: Check out code
uses: actions/checkout@v4
with:
progress: false
- name: Set up Go 1.22 - name: Set up Go 1.22
uses: actions/setup-go@v5 uses: actions/setup-go@v5
with: with:
go-version: "1.22" go-version: "1.22"
cache-dependency-path: nebula/go.sum
- uses: actions/setup-java@v2 - uses: actions/setup-java@v2
with: with:
@ -26,11 +32,6 @@ jobs:
with: with:
flutter-version: '3.24.1' flutter-version: '3.24.1'
- name: Check out code
uses: actions/checkout@v4
with:
progress: false
- name: Install the appstore connect key material - name: Install the appstore connect key material
env: env:
AC_API_KEY_SECRET_BASE64: ${{ secrets.AC_API_KEY_SECRET_BASE64 }} AC_API_KEY_SECRET_BASE64: ${{ secrets.AC_API_KEY_SECRET_BASE64 }}

View File

@ -12,10 +12,16 @@ jobs:
name: Android name: Android
runs-on: macos-latest runs-on: macos-latest
steps: steps:
- name: Check out code
uses: actions/checkout@v4
with:
progress: false
- name: Set up Go 1.22 - name: Set up Go 1.22
uses: actions/setup-go@v5 uses: actions/setup-go@v5
with: with:
go-version: "1.22" go-version: "1.22"
cache-dependency-path: nebula/go.sum
- uses: actions/setup-java@v2 - uses: actions/setup-java@v2
with: with:
@ -27,10 +33,6 @@ jobs:
with: with:
flutter-version: '3.24.1' flutter-version: '3.24.1'
- name: Check out code
uses: actions/checkout@v4
with:
progress: false
- name: install dependencies - name: install dependencies
env: env:
TOKEN: ${{ secrets.MACHINE_USER_PAT }} TOKEN: ${{ secrets.MACHINE_USER_PAT }}
@ -86,21 +88,22 @@ jobs:
runs-on: macos-latest runs-on: macos-latest
steps: steps:
- name: Check out code
uses: actions/checkout@v4
with:
progress: false
- name: Set up Go 1.22 - name: Set up Go 1.22
uses: actions/setup-go@v5 uses: actions/setup-go@v5
with: with:
go-version: "1.22" go-version: "1.22"
cache-dependency-path: nebula/go.sum
- name: Install flutter - name: Install flutter
uses: subosito/flutter-action@v2 uses: subosito/flutter-action@v2
with: with:
flutter-version: '3.24.1' flutter-version: '3.24.1'
- name: Check out code
uses: actions/checkout@v4
with:
progress: false
- name: install dependencies - name: install dependencies
run: | run: |
go install golang.org/x/mobile/cmd/gomobile@latest go install golang.org/x/mobile/cmd/gomobile@latest