Skip to content

Commit

Permalink
Update actions
Browse files Browse the repository at this point in the history
Signed-off-by: Kyle Corry <kylecorry31@gmail.com>
  • Loading branch information
kylecorry31 committed Dec 12, 2024
1 parent 90ec71f commit 9417277
Show file tree
Hide file tree
Showing 8 changed files with 22 additions and 13 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/android-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ jobs:
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
fetch-depth: 0

- name: set up JDK 17
Expand Down Expand Up @@ -55,7 +56,7 @@ jobs:

- name: Upload Test Results
if: steps.testing.outcome != 'success'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: logs
path: app/emulator.log
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
persist-credentials: false
fetch-depth: 0

- name: set up JDK 17
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/contributors.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
persist-credentials: false

- name: Set up Python
uses: actions/setup-python@v2
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/fix-string-translations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@ jobs:
fix_translations:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
persist-credentials: false
fetch-depth: 0

- name: Set up Python
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/guide-translations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@ jobs:
update_guides:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
persist-credentials: false
fetch-depth: 0

- name: Set up Python
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
persist-credentials: false
fetch-depth: 0

- name: Generate changelog
Expand Down Expand Up @@ -39,7 +40,7 @@ jobs:
NIGHTLY_STORE_FILE: ${{ secrets.NIGHTLY_STORE_FILE }}

- name: Upload APK
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: Trail-Sense-Nightly.apk
path: ./app/build/outputs/apk/nightly/*.apk
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
persist-credentials: false
ref: ${{ github.event.release.tag_name }}

- name: Setup Java
Expand All @@ -33,7 +34,7 @@ jobs:
DEV_STORE_FILE: ${{ secrets.DEV_STORE_FILE }}

- name: Upload to release
uses: Shopify/upload-to-release@v1.0.1
uses: Shopify/upload-to-release@v2.0.0
with:
name: Trail-Sense-${{ github.event.release.tag_name }}-dev.apk
path: ./app/build/outputs/apk/dev/app-dev.apk
Expand Down
9 changes: 5 additions & 4 deletions .github/workflows/site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,18 +27,19 @@ jobs:
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
persist-credentials: false
fetch-depth: 0

- name: Setup Pages
uses: actions/configure-pages@v3
uses: actions/configure-pages@v5

- name: Upload artifact
uses: actions/upload-pages-artifact@v2
uses: actions/upload-pages-artifact@v3
with:
path: "site"

- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
uses: actions/deploy-pages@v4

0 comments on commit 9417277

Please sign in to comment.