Skip to content

Instantly share code, notes, and snippets.

@WmDigitalTechs
WmDigitalTechs / script.yaml
Created January 3, 2022 22:50 — forked from wendreof/script.yaml
Updating Code Version
name: Updating_Code_Version
# This action will be triggered on every new tag
# For this example I'm using a tag named v1.0.2
on:
push:
tags:
- "*"
env:
@WmDigitalTechs
WmDigitalTechs / script.sh
Created January 3, 2022 22:49 — forked from wendreof/script.sh
Creating new GitHub Tag
# Create the new tag
git tag -a v1.0.2 -m "v1.0.2 version"
# Push the new tag
git push origin v1.0.2
@WmDigitalTechs
WmDigitalTechs / build.gradle
Created September 25, 2021 19:22 — forked from wendreof/build.gradle
7-How-to-Safely-Build-Assigned-Flutter-App-with-GitHub-Actions
def localProperties = new Properties()
def localPropertiesFile = rootProject.file('local.properties')
if (localPropertiesFile.exists()) {
localPropertiesFile.withReader('UTF-8') { reader ->
localProperties.load(reader)
}
}
def flutterRoot = localProperties.getProperty('flutter.sdk')
if (flutterRoot == null) {