Skip to content

Commit

Permalink
Enable PAM builds
Browse files Browse the repository at this point in the history
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
  • Loading branch information
kousu authored and actions-user committed Oct 31, 2023
1 parent 4b96843 commit 53e1204
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:

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

0 comments on commit 53e1204

Please sign in to comment.