Merge pull request #612 from tramlinehq/patch-main-d263cf8 #2917
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Weather | |
on: | |
push: | |
branches: [ main ] | |
workflow_dispatch: | |
inputs: | |
versionName: | |
description: 'User-facing release version name' | |
required: true | |
default: "1.0.0" | |
versionCode: | |
description: 'versionCode or build number' | |
required: true | |
default: 1 | |
jobs: | |
tramline-1: | |
runs-on: ubuntu-latest | |
steps: | |
- run: echo ${{ github.event.inputs.versionCode }} > version.txt | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: version | |
path: version.txt |