mirror of
https://github.com/EpicMorg/atlassian-json.git
synced 2024-12-28 15:45:34 +03:00
Update json-master.yml
This commit is contained in:
parent
02e1710794
commit
6d85bee826
8
.github/workflows/json-master.yml
vendored
8
.github/workflows/json-master.yml
vendored
@ -20,7 +20,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Get current date
|
- name: Get current date
|
||||||
id: date
|
id: date
|
||||||
run: echo "MY_DATE=$(date +%Y%m%d%H%M)" >> $GITHUB_ENV
|
run: echo "RELEASE_DATE=$(date +'%Y-%m-%d')" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
@ -41,7 +41,7 @@ jobs:
|
|||||||
- name: Commit and push changes
|
- name: Commit and push changes
|
||||||
uses: devops-infra/action-commit-push@master
|
uses: devops-infra/action-commit-push@master
|
||||||
with:
|
with:
|
||||||
github_token: ${{ secrets.GHT }} # This token is provided by Actions, you do not need to create your own token
|
github_token: ${{ secrets.GHT }}
|
||||||
commit_message: Atlassian JSON updated
|
commit_message: Atlassian JSON updated
|
||||||
commit_prefix: "[AUTO-COMMIT]"
|
commit_prefix: "[AUTO-COMMIT]"
|
||||||
|
|
||||||
@ -49,12 +49,12 @@ jobs:
|
|||||||
id: create_release
|
id: create_release
|
||||||
uses: actions/create-release@v1
|
uses: actions/create-release@v1
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GHT }} # This token is provided by Actions, you do not need to create your own token
|
GITHUB_TOKEN: ${{ secrets.GHT }}
|
||||||
with:
|
with:
|
||||||
tag_name: ${{ env.MY_DATE }}
|
tag_name: ${{ env.MY_DATE }}
|
||||||
release_name: Release ${{ env.MY_DATE }}
|
release_name: Release ${{ env.MY_DATE }}
|
||||||
body: |
|
body: |
|
||||||
Changes in this Release
|
Changes in this Release
|
||||||
- Atlassian JSON updated ${{ env.MY_DATE }}
|
- Atlassian JSON updated ${{ env.RELEASE_DATE }}
|
||||||
draft: false
|
draft: false
|
||||||
prerelease: false
|
prerelease: false
|
||||||
|
Loading…
Reference in New Issue
Block a user