Abort testing.

This commit is contained in:
fewtarius 2022-04-12 19:07:28 -04:00
parent f2cf7cc1ec
commit 1b67035f38
No known key found for this signature in database
GPG key ID: F4AE55305D1B8C1A

View file

@ -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)}}
}