mirror of
https://github.com/garraflavatra/rolens.git
synced 2025-01-18 13:07:58 +00:00
Prepared improved CI action
This commit is contained in:
parent
005f23c322
commit
fcdefedffd
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@ -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
20
build/ci_bundle.sh
Normal 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"
|
@ -1,3 +1,5 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
mkdir releases
|
mkdir releases
|
||||||
mkdir emptydir
|
mkdir emptydir
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user