Skip to content

Commit

Permalink
Update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
danielchalmers committed Jan 21, 2024
1 parent 2e2b859 commit 05bfa20
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions .github/actions/full-build/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,25 @@ description: Builds and tests

inputs:
RELEASE_KEYSTORE_BASE64:
description: 'RELEASE_KEYSTORE_BASE64'
description: "RELEASE_KEYSTORE_BASE64"
required: true
RELEASE_KEYSTORE_PASS:
description: 'RELEASE_KEYSTORE_PASS'
description: "RELEASE_KEYSTORE_PASS"
required: true

runs:
using: "composite"
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0 # Need full history for git versioning

- name: List files
shell: bash
run: ls

- uses: actions/setup-dotnet@v3

- name: Show .NET info
shell: bash
run: dotnet --info
Expand All @@ -41,13 +45,13 @@ runs:
- name: Build for Android
shell: bash
run: >
dotnet publish JournalApp\JournalApp.csproj -o publish -c:Release -f:net8.0-android
dotnet publish .\JournalApp\JournalApp\JournalApp.csproj -o publish -c:Release -f:net8.0-android
-p:AndroidKeyStore=True
-p:AndroidSigningKeyStore="${{ steps.create_keystore.outputs.filePath }}"
-p:AndroidSigningStorePass="${{ inputs.RELEASE_KEYSTORE_PASS }}"
-p:AndroidSigningKeyAlias="key"
-p:AndroidSigningKeyPass="${{ inputs.RELEASE_KEYSTORE_PASS }}"
- name: List build output
shell: bash
run: ls publish

0 comments on commit 05bfa20

Please sign in to comment.