Skip to content

Commit

Permalink
Update workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
XavierPaquet-Rapold committed Nov 15, 2024
1 parent 54fe102 commit b6e5143
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 7 deletions.
5 changes: 1 addition & 4 deletions .github/composite/ci-build/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,6 @@ inputs:
asset-extension:
required: true
default: zip
github-api-token:
description: the Github API token
required: true
app-name:
required: true
app-path:
Expand All @@ -30,7 +27,7 @@ runs:
steps:
- name: Build the application
shell: bash
run: flutter build -v ${{ inputs.build-target }} ${{ inputs.build-args }} --release --dart-define=GH_API_TOKEN=${{ inputs.github-api-token }}
run: flutter build -v ${{ inputs.build-target }} ${{ inputs.build-args }} --release
env:
MAPS_API_KEY: ${{ inputs.maps-api-key }}

Expand Down
2 changes: 1 addition & 1 deletion .github/composite/flutter-setup/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ runs:
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'
java-version: '21'

- name: Install iOS dependencies
if: ${{ inputs.target == 'iOS' }}
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/dev-workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,6 @@ jobs:
build-path: ${{ matrix.build_path }}
asset-extension: ${{ matrix.asset_extension }}
asset-content-type: ${{ matrix.asset_content_type }}
github-api-token: ${{ secrets.GH_API_TOKEN }}
app-name: ${{ env.APP_NAME }}
app-path: ${{ github.workspace }}/${{ env.APP_NAME }}_${{ matrix.target }}.${{ matrix.asset_extension }}
maps-api-key: ${{ secrets.MAPS_API_KEY }}
1 change: 0 additions & 1 deletion .github/workflows/master-workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,6 @@ jobs:
build-path: ${{ matrix.build_path }}
asset-extension: ${{ matrix.asset_extension }}
asset-content-type: ${{ matrix.asset_content_type }}
github-api-token: ${{ secrets.GH_API_TOKEN }}
app-name: ${{ env.APP_NAME }}
app-path: ${{ github.workspace }}/${{ env.APP_NAME }}_${{ matrix.target }}.${{ matrix.asset_extension }}
maps-api-key: ${{ secrets.MAPS_API_KEY }}
Expand Down

0 comments on commit b6e5143

Please sign in to comment.