Skip to content

Commit

Permalink
Update workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
tuomas2 committed Oct 19, 2022
1 parent f730a55 commit c9dcf33
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/branch-management.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-20.04
steps:
- name: Checkout current-stable branch
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
token: ${{ secrets.TOKEN_CI }}
fetch-depth: 50
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/build-apk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,23 +17,23 @@ jobs:
environment: And Bible Builds
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
fetch-depth: 10 # so that recent tags can be found
- name: Set up JDK
uses: actions/setup-java@v2
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: '11'

- name: Set up Node.js environment
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
# Version Spec of the version to use. Examples: 10.x, 10.15.1, >=10.15.0
node-version: '14'

- name: Cache gradle dependencies
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: |
~/.gradle/caches
Expand All @@ -44,7 +44,7 @@ jobs:

- name: Cache test modules
id: cache-test-modules
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ~/.sword
key: ${{ runner.os }}-test-modules # cache auto-removes if not accessed in 7 days. If data needs to refresh, change key name here (till https://github.com/actions/cache/issues/2 is addressed)
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/jslint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ jobs:
build:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
fetch-depth: 10 # so that recent tags can be found

- name: Set up Node.js environment
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: '14'

Expand All @@ -48,7 +48,7 @@ jobs:
if: ${{ always() }}

- name: Upload lint results
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
if: ${{ always() }}
with:
name: js-results
Expand All @@ -57,7 +57,7 @@ jobs:

- name: Upload jest results
if: ${{ always() }}
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: js-results
path: app/bibleview-js/test-report.html
Expand Down

0 comments on commit c9dcf33

Please sign in to comment.