Skip to content

Commit

Permalink
Correct syntax for output
Browse files Browse the repository at this point in the history
  • Loading branch information
tsdicloud committed Aug 9, 2023
1 parent 0b7950b commit 8fcac21
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions .github/workflows/nmc-app-precond.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,25 @@ on:
required: true
type: number
outputs:
appname: ${{ jobs.appcheck.steps.appname.result }}
appversion: ${{ jobs.appcheck.steps.appversion.result }}
tag: nmc${{ jobs.appcheck.steps.appversion.result }}-${{ inputs.increment }}
appname:
description: The appname from info.xml
value: ${{ jobs.appcheck.outputs.appname }}
appversion:
description: The appversion from info.xml
value: ${{ jobs.appcheck.outputs.appversion }}
tag:
description: a tag name according to our naming conventions
value: ${{ jobs.appcheck.outputs.tag }}

jobs:
appcheck:
runs-on: ubuntu-latest
env:
BUILD_TOKEN: ${{ secrets.BUILD_TOKEN || secrets.GITHUB_TOKEN }}
outputs:
appname: ${{ steps.appname.result }}
appversion: ${{ steps.appversion.result }}
tag: nmc${{ steps.appversion.result }}-${{ inputs.increment }}
steps:
- name: Load appinfo
id: appinfo
Expand Down

0 comments on commit 8fcac21

Please sign in to comment.