Flutter Tag Build #2
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: Flutter Tag Build | ||
on: | ||
workflow_dispatch: | ||
push: | ||
tags: | ||
- 'v[0-9]+.[0-9]+.[0-9]+' | ||
- '[0-9]+.[0-9]+.[0-9]+' | ||
- 'v[0-9]+.[0-9]+.[0-9]+-[0-9]+' | ||
- '[0-9]+.[0-9]+.[0-9]+-[0-9]+' | ||
jobs: | ||
run-flutter-tag-build: | ||
uses: ./.github/workflows/flutter-build.yml | ||
secrets: inherit | ||
with: | ||
upload-artifact: true | ||
upload-tag: ${{ env.GITHUB_REF_NAME }} | ||
Check failure on line 18 in .github/workflows/flutter-tag.yml GitHub Actions / Flutter Tag BuildInvalid workflow file
|
||
update-fdroid-version-file: | ||
name: Publish RustDesk version file for F-Droid updater | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Generate RustDesk version file | ||
run: | | ||
UPSTREAM_VERNAME="$GITHUB_REF_NAME" | ||
UPSTREAM_VERCODE="$(echo "$UPSTREAM_VERNAME" | tr -d '.')" | ||
echo "versionName=$UPSTREAM_VERNAME" > rustdesk-version.txt | ||
echo "versionCode=$UPSTREAM_VERCODE" >> rustdesk-version.txt | ||
shell: bash | ||
- name: Publish RustDesk version file | ||
uses: softprops/action-gh-release@v1 | ||
with: | ||
prerelease: true | ||
tag_name: "fdroid-version" | ||
files: | | ||
./rustdesk-version.txt |