mirror of
https://github.com/ButlerLogic/action-autotag.git
synced 2024-11-10 02:11:08 +07:00
Deconstruct test suites
This commit is contained in:
parent
f1b8052ccb
commit
1c4e61b4be
19
.github/workflows/test.yml
vendored
19
.github/workflows/test.yml
vendored
@ -31,12 +31,12 @@ jobs:
|
||||
delete_orphan_tag: true
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
# docker:
|
||||
# name: Test Suite - Docker Strategy
|
||||
# runs-on: ubuntu-latest
|
||||
# steps:
|
||||
# # Checkout updated source code
|
||||
# - uses: actions/checkout@v2
|
||||
docker:
|
||||
name: Test Suite - Docker Strategy
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
# Checkout updated source code
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
# If the version has changed, create a new git tag for it.
|
||||
- name: Tag
|
||||
@ -49,12 +49,13 @@ jobs:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Rollback Docker Test Release
|
||||
id: docker_rollback
|
||||
id: docker_rolback
|
||||
if: success() && ${{ steps.docker_autotagger.outputs.tagcreated }} = "yes"
|
||||
uses: author/action-rollback@master
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
tag: ${{ steps.docker_autotagger.outputs.tagrequested }}
|
||||
delete_orphan_tag: true
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user