Skip to content

Commit

Permalink
Add release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
roehling committed Aug 17, 2023
1 parent fe0782b commit 50f06df
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 20 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/bsd.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2022 Timo Röhling <[email protected]>
# Copyright 2023 Timo Röhling <[email protected]>
# SPDX-License-Identifier: FSFAP
#
# Copying and distribution of this file, with or without modification, are
Expand Down
21 changes: 11 additions & 10 deletions .github/workflows/musl.yml → .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,19 @@
# Copyright 2022 Timo Röhling <[email protected]>
# Copyright 2023 Timo Röhling <[email protected]>
# SPDX-License-Identifier: FSFAP
#
# Copying and distribution of this file, with or without modification, are
# permitted in any medium without royalty provided the copyright notice and
# this notice are preserved. This file is offered as-is, without any warranty.
#
name: Build statically linked PostSRSd
name: Create Github release
on:
push:
branches:
- main
tags:
- "2.*"
permissions:
contents: write
jobs:
build:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand All @@ -30,9 +32,8 @@ jobs:
cd _build
make install DESTDIR=$PWD/_install
- name: Create TAR
run: tar -C_build/_install -cvf postsrsd_static.tar ./
- name: Upload artifact
uses: actions/upload-artifact@v3
run: tar -C_build/_install -cvzf postsrsd-x86_64-musl.tar.gz ./
- name: Create release
uses: softprops/action-gh-release@v1
with:
name: prebuilt
path: postsrsd_static.tar
files: postsrsd-x86_64-musl.tar.gz
12 changes: 3 additions & 9 deletions .reuse/dep5
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,13 @@ License: GPL-3.0-only
Files: .clang-format
.cmake-format.json
.pre-commit-config.yaml
data/postsrsd.service.in
data/postsrsd.conf.in
data/sysusers.conf.in
data/*
doc/postsrsd.conf
Copyright: 2012-2023, Timo Röhling <[email protected]>
License: FSFUL

Files: cmake/FindCheck.cmake
cmake/FindConfuse.cmake
cmake/FindHiredis.cmake
cmake/FindLibMilter.cmake
cmake/Findsqlite3.cmake
cmake/utils.cmake
Files: .github/*
cmake/*
Copyright: 2022-2023, Timo Röhling <[email protected]>
License: FSFAP

Expand Down

0 comments on commit 50f06df

Please sign in to comment.