Skip to content

Commit

Permalink
Reorder things a bit; no big deal.
Browse files Browse the repository at this point in the history
  • Loading branch information
ygoldfeld committed Jan 19, 2024
1 parent 6a31a87 commit dc8fc8a
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -241,9 +241,6 @@ jobs:
fi
steps:
- name: Checkout `flow` repository
uses: actions/checkout@v4

- name: Update available software list for apt-get
run: sudo apt-get update

Expand Down Expand Up @@ -272,6 +269,9 @@ jobs:
- name: Install the latest version of Conan which is less than 2
run: pip install 'conan<2'

- name: Checkout `flow` repository
uses: actions/checkout@v4

- name: Add custom settings for Conan packages
if: |
matrix.build-test-cfg.conan-custom-settings-defs
Expand Down Expand Up @@ -437,15 +437,26 @@ jobs:
- name: Update available software list for apt-get
run: sudo apt-get update

- name: Checkout `flow` repository
uses: actions/checkout@v4

- name: Install Flow dependencies (like Graphviz) with apt-get
run: sudo apt-get install -y graphviz

- name: Install the latest version of Conan which is less than 2
run: pip install 'conan<2'

- name: Checkout `flow` repository
uses: actions/checkout@v4

# See comments in Flow-IPC workflow counterpart. We use same techniques.
- name: (On release creation only) Signal Pages about release (web site should update)
if: success() && (!cancelled()) && startsWith(github.ref, 'refs/tags/v')
run: |
# Signal Pages about release (web site should update).
curl --fail-with-body -X POST \
-H 'Accept: application/vnd.github.v3+json' \
-H 'Authorization: token ${{ secrets.GIT_BOT_PAT }}' \
'https://api.github.com/repos/Flow-IPC/flow-ipc.github.io/dispatches' \
-d '{"event_type": "flow-sync-doc-event", "client_payload": {"version": "${{ github.ref_name }}"}}'
- name: Create Conan profile
run: |
# Create Conan profile.
Expand Down Expand Up @@ -518,14 +529,3 @@ jobs:
-H 'Authorization: token ${{ secrets.GIT_BOT_PAT }}' \
'https://api.github.com/repos/Flow-IPC/flow-ipc.github.io/dispatches' \
-d '{"event_type": "flow-sync-doc-event"}'
# See comments in Flow-IPC workflow counterpart. We use same techniques.
- name: (On release creation only) Signal Pages about release (web site should update)
if: success() && (!cancelled()) && startsWith(github.ref, 'refs/tags/v')
run: |
# Signal Pages about release (web site should update).
curl --fail-with-body -X POST \
-H 'Accept: application/vnd.github.v3+json' \
-H 'Authorization: token ${{ secrets.GIT_BOT_PAT }}' \
'https://api.github.com/repos/Flow-IPC/flow-ipc.github.io/dispatches' \
-d '{"event_type": "flow-sync-doc-event", "client_payload": {"version": "${{ github.ref_name }}"}}'

0 comments on commit dc8fc8a

Please sign in to comment.