Skip to content
Snippets Groups Projects
Unverified Commit 52a939cb authored by Seth Shaw's avatar Seth Shaw Committed by GitHub
Browse files

Change default branch to 2.x (#59)

* Change default branch to 2.x

* Fix broken github actions

* ditch main branch testing
parent 7f169128
Branches
Tags 2.1.0
No related merge requests found
......@@ -6,9 +6,9 @@ name: CI
on:
# Triggers the workflow on push or pull request events but only for the 8.x branch
push:
branches: [ 8.x-1.x, main]
branches: [ 2.x ]
pull_request:
branches: [ 8.x-1.x, main]
branches: [ 2.x ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
......@@ -88,11 +88,11 @@ jobs:
- name: Setup composer paths
run: |
git -C "$GITHUB_WORKSPACE/build_dir" checkout -b travis-testing
git -C "$GITHUB_WORKSPACE/build_dir" checkout -b github-testing
cd $DRUPAL_DIR
composer config repositories.local path "$GITHUB_WORKSPACE/build_dir"
composer config minimum-stability dev
composer require "islandora/jsonld:dev-travis-testing as dev-8.x-1.x" --prefer-source -W
composer require "islandora/jsonld:dev-github-testing as dev-2.x" --prefer-source -W
- name: Install modules
run: |
......
......@@ -40,7 +40,7 @@ an Islandora Foundation [Contributor License Agreement][6] or
[GPLv2](http://www.gnu.org/licenses/gpl-2.0.txt)
[1]: https://github.com/islandora/jsonld/actions/workflows/build-8.x-1.x.yml/badge.svg
[1]: https://github.com/islandora/jsonld/actions/workflows/build-2.x.yml/badge.svg
[2]: http://img.shields.io/badge/CONTRIBUTING-Guidelines-blue.svg
[3]: https://img.shields.io/badge/license-GPLv2-blue.svg?style=flat-square
[4]: https://github.com/whikloj
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment