-
Notifications
You must be signed in to change notification settings - Fork 0
71 lines (63 loc) · 2.28 KB
/
release.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
name: Trigger excel2md
on:
workflow_dispatch:
repository_dispatch:
events:
[ release_event ]
jobs:
package:
runs-on: ubuntu-latest
name: Create artifacts
steps:
# - name: Test
# run: pwd
- name: Checkout
uses: actions/checkout@v2
# - name: Copy
# run: cp -r ./examples/* ./word-input/
# - name: Get Excel-input
# run: |
# ./get_latest.sh ${{ github.repository_owner }} test-case-repository-word-input test-cases.zip word-input ${{ github.event.client_payload.tag }}
- name: Get latest word-input
run: |
./get_latest.sh ${{ github.repository_owner }} test-case-repository-word-input test-cases.zip word-input ${{ github.event.client_payload.tag }}
- name: Create MD
id: build-it-now
uses: ./
# - name: Convert EMF to PNG
# uses: ./emf2png/
# - name: Create Archive
# id: create-archive
# run: zip -r "${{ github.workspace }}/test-cases" test-cases
- name: Create Artifact
id: create-artifact
uses: actions/upload-artifact@v4
with:
name: test-cases-markdown.zip
path: ./test-cases/
# - name: Create Release
# id: create-release
# uses: actions/create-release@v1
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# with:
# tag_name: ${{ github.event.client_payload.tag }}
# release_name: Release ${{ github.event.client_payload.tag }}
# draft: false
# prerelease: false
# - name: Upload Release Asset
# id: upload-release-asset
# uses: actions/upload-release-asset@v1
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# with:
# upload_url: ${{ steps.create-release.outputs.upload_url }}
# asset_path: ./erigrid2-test-cases.zip
# asset_name: erigrid2-test-cases.zip
# asset_content_type: application/zip
# - uses: juztcode/repo-ditpatch-action@v1
# with:
# event-type: release_event
# token: ${{ secrets.REPO_TRIGGER_KEY }}
# repository: "${{ github.repository_owner }}/test-case-descriptions"
# client-payload: '{"tag": "${{ github.event.client_payload.tag }}" }'