mirror of
https://git.selfprivacy.org/kherel/selfprivacy.org.app.git
synced 2025-01-09 09:31:13 +00:00
too soon, oops
This commit is contained in:
parent
2c5ab5c21c
commit
e182a4ae03
47
.github/workflows/release.yml
vendored
47
.github/workflows/release.yml
vendored
|
@ -1,47 +0,0 @@
|
|||
on: push
|
||||
|
||||
env: # Or as an environment variable
|
||||
GITEA_RELEASE_TOKEN: ${{ secrets.GITEA_RELEASE_TOKEN }}
|
||||
|
||||
jobs:
|
||||
windows:
|
||||
runs-on: windows-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: subosito/flutter-action@v2
|
||||
- run: flutter build windows
|
||||
- uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: windows
|
||||
path: build/windows/runner/Release
|
||||
|
||||
macos:
|
||||
runs-on: macos-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: subosito/flutter-action@v2
|
||||
- run: flutter build macos
|
||||
- uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: macos
|
||||
path: build/macos/Build/Products/Release/selfprivacy.app
|
||||
|
||||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
needs:
|
||||
- windows
|
||||
- macos
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/download-artifact@v3
|
||||
with:
|
||||
name: windows
|
||||
path: windows-release
|
||||
- uses: actions/download-artifact@v3
|
||||
with:
|
||||
name: macos
|
||||
path: macos-release/selfprivacy.app
|
||||
- run: pushd windows-release; zip -r ../selfprivacy-windows.zip .; popd
|
||||
- run: pushd macos-release; zip -r ../selfprivacy-macos.zip .; popd
|
||||
- run: ./ci.py --gitea-upload-attachment selfprivacy-windows.zip
|
||||
- run: ./ci.py --gitea-upload-attachment selfprivacy-macos.zip
|
Loading…
Reference in a new issue