1
0
Fork 0
mirror of https://git.sr.ht/~ashkeel/strimertul synced 2024-09-18 01:50:50 +00:00

Add GOPRIVATE flag

This commit is contained in:
Ash Keel 2023-01-10 09:30:55 +01:00
parent f9db1475b8
commit d4e97c2080
No known key found for this signature in database
GPG key ID: BAD8D93E7314ED3E
3 changed files with 28 additions and 7 deletions

View file

@ -5,6 +5,9 @@ on:
pull_request: pull_request:
workflow_dispatch: workflow_dispatch:
env:
GOPRIVATE: git.sr.ht
jobs: jobs:
build: build:
strategy: strategy:
@ -17,4 +20,4 @@ jobs:
build-name: strimertul build-name: strimertul
build-platform: linux/amd64 build-platform: linux/amd64
package: false package: false
go-version: 1.19 go-version: 1.19

View file

@ -7,16 +7,28 @@ on:
- "v*.*.*-beta.*" - "v*.*.*-beta.*"
- "v*.*.*-rc.*" - "v*.*.*-rc.*"
env:
GOPRIVATE: git.sr.ht
jobs: jobs:
build: build:
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
build: [ build:
{ name: strimertul-linux-amd64, platform: linux/amd64, os: ubuntu-latest }, [
{ name: "strimertul", platform: windows/amd64, os: windows-latest }, {
{ name: "strimertul", platform: darwin/universal, os: macos-latest } name: strimertul-linux-amd64,
] platform: linux/amd64,
os: ubuntu-latest,
},
{ name: "strimertul", platform: windows/amd64, os: windows-latest },
{
name: "strimertul",
platform: darwin/universal,
os: macos-latest,
},
]
runs-on: ${{ matrix.build.os }} runs-on: ${{ matrix.build.os }}
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2

View file

@ -33,6 +33,12 @@ Check out the [project's wiki](https://github.com/strimertul/strimertul/wiki) fo
This project uses Wails, check out the [Getting Started](https://wails.io/docs/gettingstarted/installation) guide on how to install it. This project uses Wails, check out the [Getting Started](https://wails.io/docs/gettingstarted/installation) guide on how to install it.
Due to Google's [aggressive behavior and refusal to conform to standard internet "don't be a dick" code](https://drewdevault.com/2022/05/25/Google-has-been-DDoSing-sourcehut.html) (aka DDoSsing), you will need to put this to be able to clone all dependecies:
```sh
export GOPRIVATE=git.sr.ht
```
To run in live development mode, run `wails dev` in the project directory. This will run a Vite development server that will provide hot reload of frontend changes, while hard-reloading on backend changes. To run in live development mode, run `wails dev` in the project directory. This will run a Vite development server that will provide hot reload of frontend changes, while hard-reloading on backend changes.
## Building ## Building
@ -43,7 +49,7 @@ To build a redistributable, production mode package, use `wails build`.
- Renko, strimertül's mascot and app icon, was drawn by [Sonic_Chan] - Renko, strimertül's mascot and app icon, was drawn by [Sonic_Chan]
[Sonic_Chan]: https://twitter.com/Sonic__Chan [sonic_chan]: https://twitter.com/Sonic__Chan
## License ## License