Abort testing.
This commit is contained in:
parent
f2cf7cc1ec
commit
1b67035f38
1 changed files with 3 additions and 21 deletions
24
.github/workflows/release-dev.yaml
vendored
24
.github/workflows/release-dev.yaml
vendored
|
@ -3,7 +3,6 @@
|
|||
# Copyright (C) 2022-present Fewtarius
|
||||
|
||||
### Based on work by @pkegg
|
||||
###
|
||||
|
||||
name: release-dev
|
||||
on:
|
||||
|
@ -14,7 +13,6 @@ on:
|
|||
|
||||
env:
|
||||
BRANCH: dev
|
||||
REFCOMMIT: commit.txt
|
||||
|
||||
jobs:
|
||||
launch-dev-release:
|
||||
|
@ -35,29 +33,13 @@ jobs:
|
|||
id: full_name
|
||||
run: |
|
||||
echo "::set-output name=full_name::$(git config --get remote.origin.url | sed 's|^.*github.com/||g' | sed 's/.git$//g')"
|
||||
|
||||
- name: Get the last commit of the last build from the artifact
|
||||
uses: UnlyEd/github-action-store-variable@v2.1.0
|
||||
with:
|
||||
variables: LASTCOMMIT
|
||||
continue-on-error: true
|
||||
|
||||
|
||||
- name: changes
|
||||
id: changes
|
||||
run: |
|
||||
release_notes="$(git log ${{ env.LASTCOMMIT }}..HEAD --pretty=format:"* %h: %s")"
|
||||
release_notes="$(git log --after="$(date --date="yesterday" +"%Y-%m-%d %H:%m")" --before="$(date +"%Y-%m-%d %H:%m")" --pretty=format:"* %h: %s")"
|
||||
echo "::set-output name=changes::$(echo ${release_notes} | wc -l)"
|
||||
echo "::set-output name=release_notes::${release_notes}"
|
||||
continue-on-error: true
|
||||
|
||||
- name: Store current commit id as an artifact
|
||||
run: git rev-parse HEAD | tee ${{ env.REFCOMMIT }}
|
||||
|
||||
- name: Store current commit artifact
|
||||
uses: UnlyEd/github-action-store-variable@v2.1.0
|
||||
with:
|
||||
variables: LASTCOMMIT=${{ env.REFCOMMIT }}
|
||||
|
||||
- name: Get date for artifacts
|
||||
id: date
|
||||
run: echo "::set-output name=date::$(date +'%Y%m%d%H%M')"
|
||||
|
@ -75,4 +57,4 @@ jobs:
|
|||
"release_tag" : "${{steps.date.outputs.date}}",
|
||||
"release_notes" : ${{toJSON(steps.changes.outputs.release_notes)}}
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue