mirror of
https://github.com/go-i2p/go-gitlooseleaf.git
synced 2025-12-01 09:54:59 -05:00
generate Debian packages
This commit is contained in:
32
.github/workflows/gitea-debian.yml
vendored
32
.github/workflows/gitea-debian.yml
vendored
@@ -52,4 +52,34 @@ jobs:
|
|||||||
--maintainer "idk <idk@i2pmail.org>" \
|
--maintainer "idk <idk@i2pmail.org>" \
|
||||||
--description "A modded gitea for hidden services" \
|
--description "A modded gitea for hidden services" \
|
||||||
--source ./build \
|
--source ./build \
|
||||||
--verbose
|
--verbose
|
||||||
|
|
||||||
|
- name: Upload Build Artifact
|
||||||
|
uses: actions/upload-artifact@v4
|
||||||
|
with:
|
||||||
|
path: "*.deb"
|
||||||
|
name: gitea-debian-${{ steps.get_version.outputs.version }}.deb
|
||||||
|
|
||||||
|
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: Update Release
|
||||||
|
uses: softprops/action-gh-release@v2
|
||||||
|
with:
|
||||||
|
tag_name: ${{ needs.check-release.outputs.new_tag }}
|
||||||
|
name: "Gitea ${{ needs.check-release.outputs.new_tag }}"
|
||||||
|
body: "Automated build of Gitea ${{ needs.check-release.outputs.new_tag }}"
|
||||||
|
files: "*.deb"
|
||||||
|
draft: false
|
||||||
|
prerelease: false
|
||||||
|
allowUpdates: true
|
||||||
|
removeArtifacts: false
|
||||||
|
replacesArtifacts: true
|
||||||
|
|||||||
30
.github/workflows/gitea-nightly-debian.yml
vendored
30
.github/workflows/gitea-nightly-debian.yml
vendored
@@ -52,4 +52,32 @@ jobs:
|
|||||||
--maintainer "idk <idk@i2pmail.org>" \
|
--maintainer "idk <idk@i2pmail.org>" \
|
||||||
--description "A modded gitea for hidden services" \
|
--description "A modded gitea for hidden services" \
|
||||||
--source ./build \
|
--source ./build \
|
||||||
--verbose
|
--verbose
|
||||||
|
|
||||||
|
- name: Upload Build Artifact
|
||||||
|
uses: actions/upload-artifact@v4
|
||||||
|
with:
|
||||||
|
path: "*.deb"
|
||||||
|
name: gitea-nightly-debian-0.0.1-${{ steps.get_version.outputs.version }}.deb
|
||||||
|
|
||||||
|
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
|
||||||
|
artifacts: "*.deb"
|
||||||
|
draft: false
|
||||||
|
prerelease: true
|
||||||
|
allowUpdates: true
|
||||||
|
removeArtifacts: false
|
||||||
|
replacesArtifacts: true
|
||||||
|
|||||||
Reference in New Issue
Block a user