Browse Source

Push tags to gitlab. (#974)

* Push tags to gitlab.
* Update gitlab-mirror.yml
* Update build-2.x.yml for deprecated github actions.
pull/976/head
Rosie Le Faive 1 year ago committed by GitHub
parent
commit
0408edb93f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      .github/workflows/build-2.x.yml
  2. 3
      .github/workflows/gitlab-mirror.yml

6
.github/workflows/build-2.x.yml

@ -53,12 +53,12 @@ jobs:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
path: build_dir
- name: Checkout islandora_ci
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: islandora/islandora_ci
ref: github-actions
@ -84,7 +84,7 @@ jobs:
echo "PHPUNIT_FILE=$GITHUB_WORKSPACE/build_dir/phpunit.xml" >> $GITHUB_ENV
- name: Cache Composer dependencies
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: /tmp/composer-cache
key: ${{ runner.os }}-${{ hashFiles('**/composer.lock') }}

3
.github/workflows/gitlab-mirror.yml

@ -3,12 +3,13 @@ name: Mirror and run GitLab CI
on:
push:
branches: [2.x]
tags: '*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v3
- name: Mirror + trigger CI
uses: SvanBoxel/gitlab-mirror-and-ci-action@master
with:

Loading…
Cancel
Save