Skip to content

Commit f99476e

Browse files
kousuactions-user
authored andcommitted
Enable PAM builds
Gitea's official builds have this disabled. I'm not sure why. But I would like to use it at least on some neurogitea systems, so turn it on. See https://docs.gitea.io/en-us/authentication/#pam-pluggable-authentication-module
1 parent 2155044 commit f99476e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919

2020
- name: Install toolchain
2121
run: |
22-
sudo apt-get update && sudo DEBIAN_FRONTEND=noninteractive apt-get install -y make git xz-utils
22+
sudo apt-get update && sudo DEBIAN_FRONTEND=noninteractive apt-get install -y make git xz-utils libpam0g-dev
2323
# per README.md, building needs Go 1.19 and Node LTS
2424
- uses: actions/setup-go@v3
2525
with:
@@ -35,7 +35,7 @@ jobs:
3535
#
3636
# Instead, just do native Linux compilation then pretend we did 'make release'.
3737
run: |
38-
TAGS="bindata sqlite sqlite_unlock_notify" make build
38+
TAGS="bindata sqlite sqlite_unlock_notify pam" make build
3939
mkdir -p dist/release
4040
cp -p gitea dist/release/gitea-$(git describe --tags --always)-linux-amd64
4141

0 commit comments

Comments
 (0)