mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-20 22:42:53 -05:00
Added CI check to test updates from v3
no issue - now we've officially released v4, we need to check updates from v3 - this commit adds a test copied from the other tests above - also renames the steps from Upgrade to Update to match internal terminology
This commit is contained in:
parent
7b1aa38841
commit
35e45dbe7b
1 changed files with 8 additions and 2 deletions
10
.github/workflows/test.yml
vendored
10
.github/workflows/test.yml
vendored
|
@ -147,18 +147,24 @@ jobs:
|
|||
ghost install local -d $DIR
|
||||
ghost update -d $DIR --zip $GITHUB_WORKSPACE/ghost.zip
|
||||
|
||||
- name: Upgrade from latest v1
|
||||
- name: Update from latest v1
|
||||
run: |
|
||||
DIR=$(mktemp -d)
|
||||
ghost install v1 --local -d $DIR
|
||||
ghost update -f -d $DIR --zip $GITHUB_WORKSPACE/ghost.zip
|
||||
|
||||
- name: Upgrade from latest v2
|
||||
- name: Update from latest v2
|
||||
run: |
|
||||
DIR=$(mktemp -d)
|
||||
ghost install v2 --local -d $DIR
|
||||
ghost update -f -d $DIR --zip $GITHUB_WORKSPACE/ghost.zip
|
||||
|
||||
- name: Update from latest v3
|
||||
run: |
|
||||
DIR=$(mktemp -d)
|
||||
ghost install v3 --local -d $DIR
|
||||
ghost update -f -d $DIR --zip $GITHUB_WORKSPACE/ghost.zip
|
||||
|
||||
- uses: daniellockyer/action-slack-build@master
|
||||
if: failure() && github.event_name == 'push' && github.ref == 'refs/heads/main'
|
||||
with:
|
||||
|
|
Loading…
Add table
Reference in a new issue