mirror of
https://github.com/go-i2p/go-gitlooseleaf.git
synced 2025-12-01 09:54:59 -05:00
Compare commits
13 Commits
v1.23.7
...
v1.24.0rc0
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1c5aeb87cd | ||
|
|
69d267bab5 | ||
|
|
f89e9dee28 | ||
|
|
1902034f2c | ||
|
|
16b5f3b7c9 | ||
|
|
aae3a5f571 | ||
|
|
08e6728356 | ||
|
|
6d90b7e40c | ||
|
|
b669c9c6c2 | ||
|
|
3daa81b6b1 | ||
|
|
4611687449 | ||
|
|
75d49f8d6f | ||
|
|
d8c63638ad |
92
.github/workflows/gitea-nightly.yml
vendored
Normal file
92
.github/workflows/gitea-nightly.yml
vendored
Normal file
@@ -0,0 +1,92 @@
|
|||||||
|
name: Gitea Nightly Build
|
||||||
|
on:
|
||||||
|
push: # Run on any push
|
||||||
|
schedule:
|
||||||
|
- cron: '0 0 * * *' # Runs daily at midnight UTC
|
||||||
|
workflow_dispatch: # Allow manual triggers
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: write # Required for creating releases
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
os: [ubuntu-latest, windows-latest, macos-latest]
|
||||||
|
runs-on: ${{ matrix.os }}
|
||||||
|
timeout-minutes: 120 # 2-hour timeout
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Checkout Repository
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Setup Go
|
||||||
|
uses: actions/setup-go@v5
|
||||||
|
with:
|
||||||
|
go-version: '1.21'
|
||||||
|
cache: true
|
||||||
|
|
||||||
|
- name: Checkout Gitea Source
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
repository: go-gitea/gitea
|
||||||
|
ref: main # Always use the latest main branch
|
||||||
|
path: gitea-source
|
||||||
|
|
||||||
|
- name: Build Gitea
|
||||||
|
working-directory: gitea-source
|
||||||
|
run: |
|
||||||
|
make clean
|
||||||
|
cp -v ../net_mirror.go modules/graceful/net_mirror.go
|
||||||
|
cp -v ../net_mirror_dialer.go modules/graceful/net_mirror_dialer.go
|
||||||
|
cp -v ../net_mirror_unix.go modules/graceful/net_mirror_unix.go
|
||||||
|
cp -v ../net_mirror_windows.go modules/graceful/net_mirror_windows.go
|
||||||
|
go mod tidy
|
||||||
|
make build
|
||||||
|
env:
|
||||||
|
TAGS: bindata sqlite sqlite_unlock_notify netgo osusergo
|
||||||
|
GOFLAGS: -ldflags="-extldflags=-static"
|
||||||
|
CO_ENABLED: 0
|
||||||
|
|
||||||
|
- name: Prepare Artifact
|
||||||
|
shell: bash
|
||||||
|
run: |
|
||||||
|
cd gitea-source
|
||||||
|
ARTIFACT_NAME="gitea-${{ runner.os }}"
|
||||||
|
if [ "${{ runner.os }}" = "Windows" ]; then
|
||||||
|
mv gitea.exe "${ARTIFACT_NAME}.exe"
|
||||||
|
else
|
||||||
|
mv gitea "${ARTIFACT_NAME}"
|
||||||
|
fi
|
||||||
|
|
||||||
|
- name: Upload Build Artifact
|
||||||
|
uses: actions/upload-artifact@v4
|
||||||
|
with:
|
||||||
|
name: gitea-${{ runner.os }}
|
||||||
|
path: |
|
||||||
|
gitea-source/gitea-${{ runner.os }}*
|
||||||
|
retention-days: 1
|
||||||
|
|
||||||
|
release:
|
||||||
|
needs: build
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Download All Artifacts
|
||||||
|
uses: actions/download-artifact@v4
|
||||||
|
|
||||||
|
- name: Get Current Date
|
||||||
|
id: date
|
||||||
|
run: echo "date=$(date +'%Y-%m-%d')" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
|
- name: Create or Update Nightly Release
|
||||||
|
uses: ncipollo/release-action@v1
|
||||||
|
with:
|
||||||
|
tag: nightly
|
||||||
|
name: "Gitea Nightly Build (${{ steps.date.outputs.date }})"
|
||||||
|
body: "Automated nightly build of Gitea from main branch, built on ${{ steps.date.outputs.date }}"
|
||||||
|
artifacts: "gitea-Linux/*, gitea-Windows/*, gitea-macOS/*"
|
||||||
|
draft: false
|
||||||
|
prerelease: true
|
||||||
|
allowUpdates: true
|
||||||
|
removeArtifacts: false
|
||||||
|
replacesArtifacts: true
|
||||||
2
go.mod
2
go.mod
@@ -3,7 +3,7 @@ module github.com/go-i2p/go-gittisane
|
|||||||
go 1.23.5
|
go 1.23.5
|
||||||
|
|
||||||
require (
|
require (
|
||||||
github.com/go-i2p/go-meta-listener v0.0.0-20250419155249-feebe95fe95a
|
github.com/go-i2p/go-meta-listener v0.0.3
|
||||||
github.com/go-i2p/onramp v0.33.92
|
github.com/go-i2p/onramp v0.33.92
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
4
go.sum
4
go.sum
@@ -4,8 +4,8 @@ github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSs
|
|||||||
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
|
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
|
||||||
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc h1:U9qPSI2PIWSS1VwoXQT9A3Wy9MM3WgvqSxFWenqJduM=
|
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc h1:U9qPSI2PIWSS1VwoXQT9A3Wy9MM3WgvqSxFWenqJduM=
|
||||||
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
|
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
|
||||||
github.com/go-i2p/go-meta-listener v0.0.0-20250419155249-feebe95fe95a h1:oKKNMSDp73q31UoAiFQD//xV4EeP70/TqsBzQAVKTAU=
|
github.com/go-i2p/go-meta-listener v0.0.3 h1:G8IQ8fWLngvnH7zLS/YJj/ZDfVYSBPpucyVzKrYRxzE=
|
||||||
github.com/go-i2p/go-meta-listener v0.0.0-20250419155249-feebe95fe95a/go.mod h1:wF/MCCfB40gZyT9WtuYWQkUOPrnoTzA+NG0zpsy3s4M=
|
github.com/go-i2p/go-meta-listener v0.0.3/go.mod h1:wF/MCCfB40gZyT9WtuYWQkUOPrnoTzA+NG0zpsy3s4M=
|
||||||
github.com/go-i2p/i2pkeys v0.0.0-20241108200332-e4f5ccdff8c4/go.mod h1:m5TlHjPZrU5KbTd7Lr+I2rljyC6aJ88HdkeMQXV0U0E=
|
github.com/go-i2p/i2pkeys v0.0.0-20241108200332-e4f5ccdff8c4/go.mod h1:m5TlHjPZrU5KbTd7Lr+I2rljyC6aJ88HdkeMQXV0U0E=
|
||||||
github.com/go-i2p/i2pkeys v0.33.10-0.20241113193422-e10de5e60708 h1:Tiy9IBwi21maNpK74yCdHursJJMkyH7w87tX1nXGWzg=
|
github.com/go-i2p/i2pkeys v0.33.10-0.20241113193422-e10de5e60708 h1:Tiy9IBwi21maNpK74yCdHursJJMkyH7w87tX1nXGWzg=
|
||||||
github.com/go-i2p/i2pkeys v0.33.10-0.20241113193422-e10de5e60708/go.mod h1:m5TlHjPZrU5KbTd7Lr+I2rljyC6aJ88HdkeMQXV0U0E=
|
github.com/go-i2p/i2pkeys v0.33.10-0.20241113193422-e10de5e60708/go.mod h1:m5TlHjPZrU5KbTd7Lr+I2rljyC6aJ88HdkeMQXV0U0E=
|
||||||
|
|||||||
Reference in New Issue
Block a user