Skip to content

Commit add7337

Browse files
committed
[#63] Align CI workflow to new Apache Artemis locations
1 parent 3ae6bd3 commit add7337

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,14 @@ jobs:
3737
- name: Checkout the repo
3838
uses: actions/checkout@v6
3939

40-
- name: Update ActiveMQ Artemis
40+
- name: Update Apache Artemis
4141
if: ${{ github.event_name == 'schedule' || inputs.snapshot }}
4242
run: |
43-
ACTIVEMQ_ARTEMIS_VERSION=$(curl https://raw.githubusercontent.com/apache/activemq-artemis/main/pom.xml | grep -m 1 -oP '(?<=version>)[^<]+')
44-
ACTIVEMQ_ARTEMIS_SNAPSHOT_VERSION=$(curl https://repository.apache.org/content/repositories/snapshots/org/apache/activemq/apache-artemis/${ACTIVEMQ_ARTEMIS_VERSION}/maven-metadata.xml | grep -m 1 -oP '(?<=value>)[^<]+')
45-
APACHE_ARTEMIS_BIN_URL="https://repository.apache.org/content/repositories/snapshots/org/apache/activemq/apache-artemis/${ACTIVEMQ_ARTEMIS_VERSION}/apache-artemis-${ACTIVEMQ_ARTEMIS_SNAPSHOT_VERSION}-bin.zip"
43+
APACHE_ARTEMIS_VERSION=$(curl https://raw.githubusercontent.com/apache/artemis/main/pom.xml | grep -m 1 -oP '(?<=version>)[^<]+')
44+
APACHE_ARTEMIS_SNAPSHOT_VERSION=$(curl https://repository.apache.org/content/repositories/snapshots/org/apache/artemis/apache-artemis/${APACHE_ARTEMIS_VERSION}/maven-metadata.xml | grep -m 1 -oP '(?<=value>)[^<]+')
45+
APACHE_ARTEMIS_BIN_URL="https://repository.apache.org/content/repositories/snapshots/org/apache/artemis/apache-artemis/${APACHE_ARTEMIS_VERSION}/apache-artemis-${APACHE_ARTEMIS_SNAPSHOT_VERSION}-bin.zip"
4646
wget -O apache-artemis-bin.zip ${APACHE_ARTEMIS_BIN_URL}
47-
sed -i "/APACHE_ARTEMIS_VERSION/{n;s/value:.*/value: \"${ACTIVEMQ_ARTEMIS_VERSION}\"/}" modules/activemq-artemis-install/module.yaml
47+
sed -i "/APACHE_ARTEMIS_VERSION/{n;s/value:.*/value: \"${APACHE_ARTEMIS_VERSION}\"/}" modules/activemq-artemis-install/module.yaml
4848
APACHE_ARTEMIS_BIN_MD5=($(md5sum apache-artemis-bin.zip))
4949
PREV_APACHE_ARTEMIS_BIN_URL=$(sed -n '/name: apache-artemis-bin/,$p' modules/activemq-artemis-install/module.yaml | grep -Pom 1 'url:.*')
5050
PREV_APACHE_ARTEMIS_BIN_MD5=$(sed -n '/name: apache-artemis-bin/,$p' modules/activemq-artemis-install/module.yaml | grep -Pom 1 'md5:.*')

0 commit comments

Comments
 (0)