1
0
mirror of https://github.com/garraflavatra/rolens.git synced 2025-01-18 21:17:59 +00:00

Prepared improved CI action

This commit is contained in:
Romein van Buren 2023-06-22 10:55:59 +02:00
parent 005f23c322
commit fcdefedffd
Signed by: romein
GPG Key ID: 0EFF8478ADDF6C49
4 changed files with 25 additions and 3 deletions

View File

@ -84,9 +84,7 @@ jobs:
path: artifacts path: artifacts
- name: Place all tarballs in the same directory - name: Place all tarballs in the same directory
run: | run: ls
mkdir bundle
mv artifacts/*/* bundle
- name: Upload the bundle as an artifact - name: Upload the bundle as an artifact
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3

20
build/ci_bundle.sh Normal file
View File

@ -0,0 +1,20 @@
#!/bin/sh
# Available platforms:
# - windows-2019
# - windows-2022
# - macos-11
# - macos-12
# - macos-13
# - ubuntu-20.04
# - ubuntu-22.04
version=$(<./build/version.txt)
mkdir bundle
# mv artifacts/*/rolens-macos-11.zip bundle/
# mv artifacts/*/rolens-macos-11.zip bundle/
ls
echo "$version"

View File

@ -1,3 +1,5 @@
#!/bin/sh
mkdir releases mkdir releases
mkdir emptydir mkdir emptydir

View File

@ -1,3 +1,5 @@
#!/bin/sh
mkdir releases mkdir releases
wails build -platform linux/amd64 wails build -platform linux/amd64
tar -czvf releases/rolens-$1-amd64.tar.gz --directory build/bin Rolens tar -czvf releases/rolens-$1-amd64.tar.gz --directory build/bin Rolens