|
8 | 8 | - name: Extract tag/branch variables |
9 | 9 | shell: bash |
10 | 10 | run: | |
11 | | - echo "##[set-output name=tag;]$(echo ${GITHUB_REF#refs/tags/}|grep -v '/')" |
12 | | - echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/}|grep -v '/')" |
| 11 | + echo "tag=$(echo ${GITHUB_REF#refs/tags/}|grep -v '/')" >> $GITHUB_OUTPUT |
| 12 | + echo "branch=$(echo ${GITHUB_REF#refs/heads/}|grep -v '/')" >> $GITHUB_OUTPUT |
13 | 13 | id: extract |
14 | 14 | outputs: |
15 | 15 | tag: ${{ steps.extract.outputs.tag }} |
|
20 | 20 | name: Build package |
21 | 21 | needs: prep |
22 | 22 | steps: |
23 | | - - uses: actions/checkout@v2 |
| 23 | + - uses: actions/checkout@v4 |
24 | 24 | - name: Set up build tools |
25 | 25 | run: ./.github/workflows/setup.sh |
26 | 26 | - name: Server-side run of commit hooks in case developer skipped them |
|
34 | 34 | ./packaging/gpg-recv-key [email protected] "4DFF 624A E564 3B51 2872 1F40 29CA 3358 89B9 A863" |
35 | 35 | git fetch --tags -f |
36 | 36 | env: |
37 | | - KEYSERVER: pool.sks-keyservers.net |
| 37 | + KEYURL: https://keyserver.ubuntu.com/pks/lookup?exact=on&op=get&search= |
38 | 38 | - name: Run build |
39 | 39 | run: fakeroot ./packaging/git-build && ./configure && make check |
40 | 40 | env: |
|
47 | 47 | sha512sum -b $i > $i.sha |
48 | 48 | done |
49 | 49 | - name: Upload build artifacts |
50 | | - uses: actions/upload-artifact@v2 |
| 50 | + uses: actions/upload-artifact@v4 |
51 | 51 | with: |
52 | 52 | name: build-artifacts |
53 | 53 | path: | |
|
69 | 69 | || startsWith( needs.prep.outputs.branch, 'stable-' ) ) }} |
70 | 70 | steps: |
71 | 71 | - name: Download artifacts |
72 | | - uses: actions/download-artifact@v2 |
| 72 | + uses: actions/download-artifact@v4.1.7 |
73 | 73 | with: |
74 | 74 | name: build-artifacts |
75 | 75 | - name: Setup SSH |
|
80 | 80 | eval "$(ssh-agent)" |
81 | 81 | if ssh-add firehol_org_publish_key; then |
82 | 82 | echo "Key added: setting agent environment" |
83 | | - echo "##[set-output name=ssh_agent_pid;]$SSH_AGENT_PID" |
84 | | - echo "##[set-output name=ssh_auth_sock;]$SSH_AUTH_SOCK" |
| 83 | + echo "ssh_agent_pid=$SSH_AGENT_PID" >> $GITHUB_OUTPUT |
| 84 | + echo "ssh_auth_sock=$SSH_AUTH_SOCK" >> $GITHUB_OUTPUT |
85 | 85 | mkdir -p $HOME/.ssh |
86 | 86 | chmod 700 $HOME/.ssh |
87 | 87 | echo PasswordAuthentication=no >> $HOME/.ssh/config |
@@ -135,7 +135,7 @@ jobs: |
135 | 135 | if: ${{ needs.prep.outputs.tag != '' }} |
136 | 136 | steps: |
137 | 137 | - name: Download artifacts |
138 | | - uses: actions/download-artifact@v2 |
| 138 | + uses: actions/download-artifact@v4.1.7 |
139 | 139 | with: |
140 | 140 | name: build-artifacts |
141 | 141 | - name: Create Release |
|
0 commit comments