1
0
mirror of https://github.com/irssi/irssi.git synced 2024-12-04 14:46:39 -05:00

Merge pull request #1231 from ailin-nemui/gh-actions

keep up with github-actions changes
This commit is contained in:
ailin-nemui 2020-10-27 10:27:46 +01:00 committed by GitHub
commit dd8478dcde
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,7 +9,7 @@ jobs:
steps:
- name: set PATH
run: |
echo "::add-path::$HOME/.local/bin"
echo "$HOME/.local/bin" >> $GITHUB_PATH
- name: prepare required software
run: |
sudo apt install abigail-tools ninja-build libutf8proc-dev libperl-dev libotr5-dev
@ -41,15 +41,15 @@ jobs:
base_abi=$(getabidef base$prefix)
echo base abi : $base_abi
./base$prefix/bin/irssi --version
echo "::set-env name=base_abi::$base_abi"
echo "base_abi=$base_abi" >> $GITHUB_ENV
merge_abi=$(getabidef merge$prefix)
echo merge abi : $merge_abi
./merge$prefix/bin/irssi --version
echo "::set-env name=merge_abi::$merge_abi"
echo "merge_abi=$merge_abi" >> $GITHUB_ENV
- run: |
# abipkgdiff
abipkgdiff -l base merge && diff_ret=0 || diff_ret=$?
echo "::set-env name=diff_ret::$diff_ret"
echo "diff_ret=$diff_ret" >> $GITHUB_ENV
- run: |
# Check if no changes are needed
if [ "$diff_ret" -ne 0 ]; then