Skip to content

Commit f0ec5a9

Browse files
authored
Revert workflow to original
1 parent cb99c89 commit f0ec5a9

1 file changed

Lines changed: 2 additions & 19 deletions

File tree

.github/workflows/main.yml

Lines changed: 2 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -17,23 +17,7 @@ jobs:
1717
path: 'QAVS'
1818
submodules: recursive
1919

20-
- name: Generate .jks signing key on the fly
21-
shell: pwsh
22-
run: |
23-
& keytool -genkeypair `
24-
-alias "${{ secrets.ALIAS }}" `
25-
-keyalg RSA `
26-
-keysize 2048 `
27-
-validity 365 `
28-
-keystore signing_key.jks `
29-
-dname "CN=Your Name, OU=Org Unit, O=Org, L=City, S=State, C=US" `
30-
-storepass "${{ secrets.KEY_STORE_PASSWORD }}" `
31-
-keypass "${{ secrets.KEY_PASSWORD }}"
32-
33-
# Convert the .jks file to base64 and save it to an environment variable
34-
$base64Key = [Convert]::ToBase64String([System.IO.File]::ReadAllBytes("signing_key.jks"))
35-
echo "SIGNING_KEY=$base64Key" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8
36-
20+
3721
- name: Cache NuGet packages
3822
uses: actions/cache@v3
3923
with:
@@ -61,14 +45,13 @@ jobs:
6145
- name: Build
6246
working-directory: 'QAVS\QuestAppVersionSwitcher'
6347
run: msbuild QuestAppVersionSwitcher.csproj /t:PackageForAndroid /t:SignAndroidPackage /p:Configuration=Release
64-
6548

6649
- uses: r0adkll/sign-android-release@v1.0.4
6750
name: Sign app APK
6851
id: sign_app
6952
with:
7053
releaseDirectory: QAVS/QuestAppVersionSwitcher/bin/Release
71-
signingKeyBase64: ${{ env.SIGNING_KEY }}
54+
signingKeyBase64: ${{ secrets.SIGNING_KEY }}
7255
alias: ${{ secrets.ALIAS }}
7356
keyStorePassword: ${{ secrets.KEY_STORE_PASSWORD }}
7457
env:

0 commit comments

Comments
 (0)