Compare commits
10 commits
d3b8476144
...
d53a0ba76e
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d53a0ba76e | ||
|
|
63d9230dea | ||
|
|
f8c2778726 | ||
|
|
4d77a6a923 | ||
|
|
8638e98989 | ||
|
|
4007bcc2b7 | ||
|
|
8516cdecbe | ||
|
|
f11f2505e8 | ||
|
|
eec16237eb | ||
|
|
5583dbcb4f |
4 changed files with 31 additions and 5 deletions
21
.github/workflows/checkout.yml
vendored
Normal file
21
.github/workflows/checkout.yml
vendored
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
name: Test checkout
|
||||
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- 'test*'
|
||||
|
||||
jobs:
|
||||
test_checkout_no_actions:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: write # needed to create releases
|
||||
steps:
|
||||
- name: Environment Variables
|
||||
run: pwd; env
|
||||
- name: Checkout
|
||||
env:
|
||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
run: gh repo clone $GITHUB_REPOSITORY . -- --depth 1
|
||||
- name: List files
|
||||
run: find $(pwd)
|
||||
3
.github/workflows/test.yml
vendored
3
.github/workflows/test.yml
vendored
|
|
@ -2,8 +2,7 @@ name: run-test-on-push
|
|||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
# - feature/embed-http-server
|
||||
- test
|
||||
|
||||
jobs:
|
||||
run-script:
|
||||
|
|
|
|||
12
release.sh
12
release.sh
|
|
@ -1,18 +1,24 @@
|
|||
#|/bin/bash
|
||||
#!/bin/bash -x
|
||||
echo "Ejecutando $0 en directorio $(pwd)"
|
||||
|
||||
build_release_files(){
|
||||
make build-container build-builders test build-android-release-container build-linux-release-container build-web-release-container
|
||||
|
||||
echo " ----> Listando archivos en ./build"
|
||||
find build/
|
||||
echo " <----"
|
||||
|
||||
pushd build/web && zip -r ../../webapp.zip * && popd
|
||||
pushd build/linux/x64/release/bundle && zip -r ../../../../../linux-bin.zip * && popd
|
||||
}
|
||||
|
||||
get_release_files(){
|
||||
cd build/web && zip -r ../webapp.zip
|
||||
zip --recurse-paths linux-bin.zip build/linux/x64/release/bundle/*
|
||||
echo ./build/app/outputs/flutter-apk/app-release.apk linux-bin.zip webapp.zip
|
||||
}
|
||||
|
||||
main(){
|
||||
TAG=${GITHUB_REF#refs/tags/}
|
||||
VERSION=${TAG#version-}
|
||||
build_release_files
|
||||
FILES="$(get_release_files)"
|
||||
gh release create $TAG $FILES
|
||||
|
|
|
|||
Loading…
Reference in a new issue