Skip to content

Commit bd54f24

Browse files
committed
cicd: fixed deprecated set-output syntax
1 parent f8b16a8 commit bd54f24

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/mamonsu-tests-dev.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
run: bash ./github-actions-tests/zbx_install.sh --zbx-version="${{ matrix.zabbix_version }}"
5959
- name: Retrieve Zabbix address
6060
run: |
61-
echo "::set-output name=zabbix_address::$(hostname -I | awk '{print $1}')"
61+
echo "zabbix_address=$(hostname -I | awk '{print $1}')" >> $GITHUB_OUTPUT
6262
id: zabbix_address
6363
- name: Edit Zabbix address in agent.conf
6464
run: sed -i "s/\(address *= *\).*/\1 ${{ steps.zabbix_address.outputs.zabbix_address }}/" ${{ env.MAMONSU_PATH }}/github-actions-tests/sources/agent_3.5.2.conf

.github/workflows/mamonsu-tests-master.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ jobs:
6262
run: bash ./github-actions-tests/zbx_install.sh --zbx-version="${{ matrix.zabbix_version }}"
6363
- name: Retrieve Zabbix address
6464
run: |
65-
echo "::set-output name=zabbix_address::$(hostname -I | awk '{print $1}')"
65+
echo "zabbix_address=$(hostname -I | awk '{print $1}')" >> $GITHUB_OUTPUT
6666
id: zabbix_address
6767
- name: Edit Zabbix address in agent.conf
6868
run: sed -i "s/\(address *= *\).*/\1 ${{ steps.zabbix_address.outputs.zabbix_address }}/" ${{ env.MAMONSU_PATH }}/github-actions-tests/sources/agent_3.5.2.conf

0 commit comments

Comments
 (0)