Skip to content

Commit bcb47b3

Browse files
authored
fix(publish.yml): correct echo command to use proper output variable (#317)
1 parent 3cf01bc commit bcb47b3

1 file changed

Lines changed: 12 additions & 11 deletions

File tree

.github/workflows/publish.yml

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
1-
name: Generated APK AAB (Upload - Create Artifact To Github Action)
2-
3-
env:
4-
# The name of the main module repository
5-
main_project_module: app
1+
name: Publish Release to Play Store
62

73
on:
84
release:
@@ -19,19 +15,24 @@ jobs:
1915
repository: ${{ github.repository }}
2016
excludes: prerelease, draft
2117
token: ${{ secrets.GITHUB_TOKEN }}
18+
- name: test
19+
run: echo ${{ steps.fetchLatestRelease.outputs.release }}
2220
- name: Prepare Release Artifact
2321
uses: dsaltares/fetch-gh-release-asset@master
2422
with:
25-
repo: 'dsaltares/godot-wild-jam-18'
26-
version: ${{ steps.keydb.fetchLatestRelease.release }}
27-
file: '*.aab'
28-
token: ${{ secrets.GITHUB_TOKEN }}
23+
file: 'app-release.aab'
24+
- name: Prepare Release mapping
25+
uses: dsaltares/fetch-gh-release-asset@master
26+
with:
27+
file: 'mapping.txt'
28+
- name: test
29+
run: ls -l
2930
- name: Upload Android Release to Play Store
3031
uses: r0adkll/upload-google-play@v1.1.3
3132
with:
3233
serviceAccountJsonPlainText: ${{ secrets.SERVICE_ACCOUNT_JSON }}
3334
packageName: me.rosuh.easywatermark
34-
releaseFiles: '*.aab'
35+
releaseFiles: 'app-release.aab'
3536
track: production
3637
status: inProgress
37-
mappingFile: app/build/outputs/mapping/release/mapping.txt
38+
mappingFile: 'mapping.txt'

0 commit comments

Comments
 (0)