From 461dfd76d1242c9af1542845efec7595304a0801 Mon Sep 17 00:00:00 2001 From: yage Date: Sun, 14 Apr 2024 01:37:15 -0600 Subject: [PATCH] go --- .circleci/config.yml | 19 ++++++------------- 1 file changed, 6 insertions(+), 13 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 75b67ef..ba18b51 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -63,9 +63,8 @@ custom: name: clone wrynegade/scwrypts working_directory: /home/ci command: | - GIT_SSH_COMMAND="ssh -o StrictHostKeyChecking=no" git clone -b "yage/circle-ci/aur-automation" "$CIRCLE_REPOSITORY_URL" scwrypts + GIT_SSH_COMMAND="ssh -o StrictHostKeyChecking=no" git clone -b "$CIRCLE_BRANCH" "$CIRCLE_REPOSITORY_URL" scwrypts chown -R ci:ci ./scwrypts - #command: git clone -b "$CIRCLE_BRANCH" "$CIRCLE_REPOSITORY_URL" scwrypts jobs: require-full-semver: @@ -237,18 +236,13 @@ jobs: workflows: dev: jobs: - - require-full-semver: - filters: - branches: - ignore: /.*aur-automation$/ - aur-test: - requires: [require-full-semver] - - - python-test: &dev_filters filters: branches: ignore: /^main$/ + + - python-test: *dev_filters - nodejs-test: *dev_filters publish: @@ -261,6 +255,7 @@ workflows: ignore: /^.*$/ - aur-test: + &only-publish-for-full-semver requires: [require-full-semver] - aur-publish: context: [aur-yage] @@ -269,14 +264,12 @@ workflows: - python-publish - nodejs-publish - - python-test: - requires: [require-full-semver] + - python-test: *only-publish-for-full-semver - python-publish: requires: - python-test - - nodejs-test: - requires: [require-full-semver] + - nodejs-test: *only-publish-for-full-semver - nodejs-publish: requires: - nodejs-test