We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0fbabe7 commit ba44a5eCopy full SHA for ba44a5e
.github/workflows/main.yml
@@ -0,0 +1,33 @@
1
+name: ReleaseCreation
2
+
3
+on:
4
+ workflow_dispatch:
5
6
+jobs:
7
+ say-hello:
8
+ runs-on: ubuntu-latest
9
+ steps:
10
+ - name: Checkout code
11
+ uses: actions/checkout@v4
12
13
+ - name: Say Hello
14
+ run: echo "Hello, World!"
15
16
+ - name: Get Current Date
17
+ id: current-date
18
+ run: echo "date=$(date +%Y-%m-%d)" >> $GITHUB_ENV
19
20
+ - name: Create New JIRA Release
21
+ uses: satak/webrequest-action@master
22
+ with:
23
+ url: ${{ secrets.JIRA_RELEASE_WEBHOOK_URL }}
24
+ headers: '{"X-Automation-Webhook-Token": "${{ secrets.JIRA_RELEASE_WEBHOOK_TOKEN }}"}'
25
+ method: POST
26
+ payload: |
27
+ {
28
+ "data": {
29
+ "version": "testjavaversion#",
30
+ "startDate": "${{ env.date }}",
31
+ "date": "${{ env.date }}"
32
+ }
33
0 commit comments