Skip to content

Commit 07d0c60

Browse files
committed
GitHub workflows: abi-stable (0.10.y only): update abi reference tag
With the ABI change between 0.10.5 and 0.10.6, use 0.10.6 as reference tag now. Signed-off-by: Martin Wilck <mwilck@suse.com>
1 parent 6519777 commit 07d0c60

1 file changed

Lines changed: 2 additions & 20 deletions

File tree

.github/workflows/abi-stable.yaml

Lines changed: 2 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -12,21 +12,13 @@ on:
1212
branches:
1313
- 'stable-*'
1414
workflow_dispatch:
15+
env:
16+
PARENT_TAG: "0.10.6"
1517

1618
jobs:
1719
reference-abi:
1820
runs-on: ubuntu-24.04
1921
steps:
20-
- name: get parent tag (push)
21-
run: >
22-
echo ${{ github.ref }} |
23-
sed -E 's,refs/heads/stable-([0-9]\.[0-9]*)\.y,PARENT_TAG=\1.0,' >> $GITHUB_ENV
24-
if: github.event_name == 'push'
25-
- name: get parent tag (PR)
26-
run: >
27-
echo ${{ github.base_ref }} |
28-
sed -E 's,stable-([0-9]\.[0-9]*)\.y,PARENT_TAG=\1.0,' >> $GITHUB_ENV
29-
if: github.event_name == 'pull_request'
3022
- name: assert parent tag
3123
run: /bin/false
3224
if: env.PARENT_TAG == ''
@@ -71,16 +63,6 @@ jobs:
7163
runs-on: ubuntu-24.04
7264
needs: reference-abi
7365
steps:
74-
- name: get parent tag (push)
75-
run: >
76-
echo ${{ github.ref }} |
77-
sed -E 's,refs/heads/stable-([0-9]\.[0-9]*)\.y,PARENT_TAG=\1.0,' >> $GITHUB_ENV
78-
if: github.event_name == 'push'
79-
- name: get parent tag (PR)
80-
run: >
81-
echo ${{ github.base_ref }} |
82-
sed -E 's,stable-([0-9]\.[0-9]*)\.y,PARENT_TAG=\1.0,' >> $GITHUB_ENV
83-
if: github.event_name == 'pull_request'
8466
- name: assert parent tag
8567
run: /bin/false
8668
if: env.PARENT_TAG == ''

0 commit comments

Comments
 (0)