Compare commits

...

5 Commits

Author SHA1 Message Date
eyedeekay
5349d0b8bb use ref_name when uploading artifacts 2025-01-07 21:59:40 -05:00
eyedeekay
9e6dd8a094 don't target commit 2025-01-07 21:12:50 -05:00
eyedeekay
57c7d7d341 push with push.sh instead so that we get nightly builds 2025-01-07 20:54:13 -05:00
eyedeekay
ca91190c63 push with push.sh instead so that we get nightly builds 2025-01-07 20:53:04 -05:00
eyedeekay
bc4dbd4d54 push with push.sh instead so that we get nightly builds 2025-01-07 20:52:51 -05:00
3 changed files with 19 additions and 13 deletions

View File

@@ -76,7 +76,7 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: i2pbrowser_amd64.deb
path: ./i2pbrowser_1.0.0_amd64.deb
path: ./i2pbrowser_${{ github.ref_name }}_amd64.deb
- name: build plugin with Ant
run: |
export PATH=$PATH:$(go env GOPATH)/bin
@@ -133,7 +133,7 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: i2pbrowser.x86_64.rpm
path: ./i2pbrowser-1.0.0-1.x86_64.rpm
path: ./i2pbrowser-${{ github.ref_name }}-1.x86_64.rpm
buildwin:
@@ -171,8 +171,8 @@ jobs:
- name: Upload Firefox Profile EXE Installer
uses: actions/upload-artifact@v4
with:
name: i2pbrowser-1.0.0.exe
path: ./i2pbrowser-1.0.0.exe
name: i2pbrowser-${{ github.ref_name }}.exe
path: ./i2pbrowser-${{ github.ref_name }}.exe
- name: build msi with Ant
run: |
ant windows-msi
@@ -180,8 +180,8 @@ jobs:
- name: Upload Firefox Profile MSI Installer
uses: actions/upload-artifact@v4
with:
name: i2pbrowser-1.0.0.msi
path: ./i2pbrowser-1.0.0.msi
name: i2pbrowser-${{ github.ref_name }}.msi
path: ./i2pbrowser-${{ github.ref_name }}.msi
- name: build portable zip with Ant
run: |
ant windows-portable
@@ -227,8 +227,8 @@ jobs:
- name: Upload Firefox Profile DMG Installer
uses: actions/upload-artifact@v4
with:
name: i2pbrowser-1.0.0.dmg
path: ./i2pbrowser-1.0.0.dmg
name: i2pbrowser-${{ github.ref_name }}.dmg
path: ./i2pbrowser-${{ github.ref_name }}.dmg
- name: build pkg with Ant
run: |
ant macos-pkg
@@ -236,5 +236,5 @@ jobs:
- name: Upload Firefox Profile PKG Installer
uses: actions/upload-artifact@v4
with:
name: i2pbrowser-1.0.0.pkg
path: ./i2pbrowser-1.0.0.pkg
name: i2pbrowser-${{ github.ref_name }}.pkg
path: ./i2pbrowser-${{ github.ref_name }}.pkg

View File

@@ -4,8 +4,8 @@ name: Nightly
on:
push:
branches:
- main
tags:
- nightly-*
jobs:
build:
@@ -73,7 +73,6 @@ jobs:
- name: Upload artifacts
uses: ncipollo/release-action@v1
with:
commit: $GITHUB_SHA
name: nightly
prerelease: true
makeLatest: true

7
push.sh Executable file
View File

@@ -0,0 +1,7 @@
#! /usr/bin/env sh
nightly_hash=nightly-$(git log -1 --format=%H)
nightly_date=$(date)
git tag -m "$nightly_date" -s "$nightly_hash"
git push --all
git push --tags