Skip to content

Commit

Permalink
use xdebug release id in workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
juliangut committed May 20, 2024
1 parent b921716 commit f5bb707
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
run: echo "vcs_ref=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT

- id: set_matrix
run: echo "matrix=$(bin/phpdev export-build `curl -s https://github.com/xdebug/xdebug/releases.atom | grep "<title>[0-9]*\.[0-9]*\.[0-9]*</title>" | awk -F '[<>]' '{ print $3; exit }'`)" >> $GITHUB_OUTPUT
run: echo "matrix=$(bin/phpdev export-build `curl -s https://github.com/xdebug/xdebug/releases.atom | grep "<id>.*/[0-9]*\.[0-9]*\.[0-9]*</id>" | sed -E "s/\s*<id>.*\/([0-9]*\.[0-9]*\.[0-9]*)<\/id>/<release>\1<\/release>/" | awk -F '[<>]' '{ print $3; exit }'`)" >> $GITHUB_OUTPUT

outputs:
build_date: ${{ steps.set_date.outputs.build_date }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docker-inspect.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
run: echo "vcs_ref=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT

- id: set_matrix
run: echo "matrix=$(bin/phpdev export-build `curl -s https://github.com/xdebug/xdebug/releases.atom | grep "<title>[0-9]*\.[0-9]*\.[0-9]*</title>" | awk -F '[<>]' '{ print $3; exit }'`)" >> $GITHUB_OUTPUT
run: echo "matrix=$(bin/phpdev export-build `curl -s https://github.com/xdebug/xdebug/releases.atom | grep "<id>.*/[0-9]*\.[0-9]*\.[0-9]*</id>" | sed -E "s/\s*<id>.*\/([0-9]*\.[0-9]*\.[0-9]*)<\/id>/<release>\1<\/release>/" | awk -F '[<>]' '{ print $3; exit }'`)" >> $GITHUB_OUTPUT

outputs:
build_date: ${{ steps.set_date.outputs.build_date }}
Expand Down

0 comments on commit f5bb707

Please sign in to comment.