-
-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (34 loc) · 1021 Bytes
/
nginx.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: Nginx
on:
push:
tags:
- "v*"
env:
apt_deps: gettext-base build-essential wget libpcre3-dev libssl-dev libxslt-dev zlib1g-dev awscli
jobs:
release-debian-aarch64:
name: Release Debian aarch64
timeout-minutes: 60
runs-on: ubuntu-latest
env:
output_name: nginx-debian-12-aarch64
steps:
- name: Checkout source
uses: actions/checkout@v4
- name: Build nginx binary
uses: uraimo/run-on-arch-action@v2
with:
arch: aarch64
distro: bookworm
run: |
apt-get -qq update -y
apt-get -qq install -y ${{ env.apt_deps }}
./nginx-build.sh "$(pwd)/${{ env.output_name }}"
- name: Generate artifact checksum
run: sha256sum ${{ env.output_name }} > ${{ env.output_name }}.sha256
- name: Upload release artifacts
uses: softprops/action-gh-release@v2
with:
files: |
${{ env.output_name }}
${{ env.output_name }}.sha256