Skip to content

Commit

Permalink
SPECS/nginx.spec removed --with-ngx_http_mirror_module
Browse files Browse the repository at this point in the history
  • Loading branch information
fb929 committed Nov 17, 2023
1 parent 989705a commit 58ee9fc
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 32 deletions.
40 changes: 10 additions & 30 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
---
name: rpm build and release

on:
release:
types:
- published
push:
# Sequence of patterns matched against refs/tags
tags:
- 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10

name: release

jobs:
build:
Expand All @@ -19,32 +20,11 @@ jobs:
id: build
uses: fb929/rpmbuild@master

- name: upload artifact
uses: actions/upload-artifact@v2
# create release and upload assets
- name: Release
uses: softprops/action-gh-release@v1
with:
name: packages
retention-days: 1
path: |
files: |
/home/runner/work/_temp/_github_home/*.rpm
/home/runner/work/_temp/_github_home/sha256sum
/home/runner/work/_temp/_github_home/md5sum
upload:
needs: build
runs-on: ubuntu-latest
strategy:
matrix: ${{fromJson(needs.build.outputs.matrix)}}
steps:
- name: download artifact
uses: actions/download-artifact@v2
with:
name: packages
- name: upload ${{ matrix.file }}
id: upload
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: ${{ matrix.file}}
asset_name: ${{ matrix.file}}
asset_content_type: application/octet-stream
2 changes: 0 additions & 2 deletions SPECS/nginx.spec
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,6 @@ patch -p1 < %{bdir}/graphite-nginx-module-%{graphite_nginx_module_version}/graph
--add-module=headers-more-nginx-module-%{headers_more_nginx_module_version} \
--add-module=ngx_brotli-%{ngx_brotli_version} \
--with-http_geoip_module \
--with-ngx_http_mirror_module \
--with-debug
make %{?_smp_mflags}
%{__mv} %{bdir}/objs/nginx \
Expand All @@ -149,7 +148,6 @@ make %{?_smp_mflags}
--add-module=headers-more-nginx-module-%{headers_more_nginx_module_version} \
--add-module=ngx_brotli-%{ngx_brotli_version} \
--with-http_geoip_module \
--with-ngx_http_mirror_module \
--with-debug

make %{?_smp_mflags}
Expand Down

0 comments on commit 58ee9fc

Please sign in to comment.