File tree Expand file tree Collapse file tree 3 files changed +1
-15
lines changed Expand file tree Collapse file tree 3 files changed +1
-15
lines changed Original file line number Diff line number Diff line change 1
1
name : " Build packages"
2
2
description : " Build RPM and DEB packages for multiple architectures"
3
3
4
- inputs :
5
- CI_PROTOBUF_ACCESS_TOKEN :
6
- description : " Access token for protobuf repo"
7
- required : true
8
-
9
4
runs :
10
5
using : " composite"
11
6
steps :
28
23
mkdir -p ${HOME}/zig
29
24
tar -xJ -C ${HOME}/zig --strip-components=1 -f zig.tar.xz
30
25
echo ${HOME}/zig >> ${GITHUB_PATH}
31
- - name : Configure foreign git repos
32
- # Make sure the runner has access to the protobuf repo using an access token
33
- shell : bash
34
- run : git config --global url."https://${{ inputs.CI_PROTOBUF_ACCESS_TOKEN }}@github.com/thinkparq/protobuf".insteadOf https://github.com/thinkparq/protobuf
35
26
- name : Run checks and tests
36
27
shell : bash
37
28
run : |
Original file line number Diff line number Diff line change 21
21
run : |
22
22
rustup toolchain install nightly
23
23
rustup component add --toolchain nightly rustfmt
24
- - name : Configure foreign git repos
25
- # Make sure the runner has access to the protobuf repo using an access token
26
- run : git config --global url."https://${{ secrets.CI_PROTOBUF_ACCESS }}@github.com/thinkparq/protobuf".insteadOf https://github.com/thinkparq/protobuf
27
24
- name : Checks
28
25
run : make check
29
26
- name : Run tests
Original file line number Diff line number Diff line change 22
22
fetch-depth : 0
23
23
- name : Build Packages
24
24
uses : ./.github/actions/package
25
- with :
26
- CI_PROTOBUF_ACCESS_TOKEN : ${{ secrets.CI_PROTOBUF_ACCESS }}
27
25
- name : Import GPG key
28
26
id : import_gpg
29
27
uses : crazy-max/ghaction-import-gpg@v6
34
32
run : |
35
33
cd target/package
36
34
export GPG_TTY=$(tty)
37
- gpg --pinentry-mode loopback --passphrase ${{ secrets.PUBLICREPO_GPGPACKAGEPASSPHRASE }} --trust-model always --detach-sign -o checksums.txt.sig -r [email protected] checksums.txt
35
+ gpg --pinentry-mode loopback --passphrase ${{ secrets.PUBLICREPO_GPGPACKAGEPASSPHRASE }} --trust-model always --detach-sign -o checksums.txt.sig -r [email protected] checksums.txt
38
36
- name : Create Release
39
37
uses : ncipollo/release-action@v1
40
38
with :
You can’t perform that action at this time.
0 commit comments