Skip to content

Commit

Permalink
Update GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
7h30n3 committed Jul 1, 2024
1 parent b8253df commit 9118ea2
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 13 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/build_app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Run shared environment setup steps
uses: ./.github/actions/environment_setup

- name: Setup Java
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '17'
Expand Down Expand Up @@ -58,13 +58,13 @@ jobs:
--dart-define=IS_RELEASE=true
- name: Upload AAB artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: aab
path: build/app/outputs/bundle/release/app-release.aab

- name: Upload APK artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: apk
path: build/app/outputs/flutter-apk/app-release.apk
Expand Down Expand Up @@ -95,7 +95,7 @@ jobs:
build/app/outputs/flutter-apk/app-release.apk
- name: Upload F-Droid APK artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: apk-fdroid
path: build/app/outputs/flutter-apk/app-release.apk
Expand All @@ -113,7 +113,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Run shared environment setup steps
uses: ./.github/actions/environment_setup
Expand Down Expand Up @@ -156,7 +156,7 @@ jobs:
--export-options-plist=$EXPORTOPTIONS_PATH
- name: Upload IPA artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ipa
path: build/ios/ipa/*.ipa
Expand Down Expand Up @@ -200,7 +200,7 @@ jobs:
app/OpenStop_${{ github.ref_name }}.ipa
- name: Upload AAB, APK, IPA to draft release
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
with:
tag_name: ${{ github.ref }}
name: OpenStop ${{ github.ref_name }}
Expand All @@ -216,13 +216,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Run shared environment setup steps
uses: ./.github/actions/environment_setup

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

- name: Build web
run: >-
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/code_validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Run shared environment setup steps
uses: ./.github/actions/environment_setup
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/json_validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup python
uses: actions/setup-python@v4
with:
python-version: '3.12'

- name: Install jsonschema validator
run: pip install jsonschema
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
# Some app tests rely on this test server
# derived from https://github.com/openstreetmap/openstreetmap-website/blob/master/.github/workflows/docker.yml
- name: Checkout OSM website source
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: openstreetmap/openstreetmap-website
path: osm-website
Expand Down

0 comments on commit 9118ea2

Please sign in to comment.