0
Fork 0
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:
Daniel Lockyer 2021-03-17 11:47:27 +00:00
parent 7b1aa38841
commit 35e45dbe7b
No known key found for this signature in database
GPG key ID: FFBC6FA2A6F6ABC1

View file

@ -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: