This repository was archived by the owner on May 16, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 106
Expand file tree
/
Copy pathworkingtitle-cj4-prerelease.yml
More file actions
50 lines (48 loc) · 1.71 KB
/
workingtitle-cj4-prerelease.yml
File metadata and controls
50 lines (48 loc) · 1.71 KB
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
name: CI - CJ4 QA Build
on: workflow_dispatch
#push:
# tags:
# - 'cj4-v*-pre*'
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '14'
- run: npm run install:cj4
- name: Build Package
run: powershell.exe -noexit .\build.ps1 -OutputPath '.\build' -Project 'workingtitle-project-cj4meta.xml' -CleanBuild
#- name: Get clean tag name
# uses: little-core-labs/get-git-tag@v3.0.1
# id: tag_name
- name: Zip Release Files
run: Compress-Archive -Path build\* -DestinationPath workingtitle-cj4-QA${{ github.run_id }}.zip
#- name: Create Release
# id: create_release
# uses: actions/create-release@v1
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# with:
# tag_name: ${{ github.ref }}
# release_name: ${{ steps.tag_name.outputs.tag }}
# body_path: docs\workingtitle-cj4\CHANGES.md
# draft: true
# prerelease: true
#- name: Upload zip to release
# uses: actions/upload-release-asset@v1
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# with:
# upload_url: ${{ steps.create_release.outputs.upload_url }}
# asset_path: workingtitle-cj4.zip
# asset_name: workingtitle-${{ steps.tag_name.outputs.tag }}.zip
# asset_content_type: application/zip
- name: Upload Package
uses: actions/upload-artifact@v2.1.4
with:
name: workingtitle-cj4-QA${{ github.run_id }}.zip
path: |
workingtitle-cj4-QA${{ github.run_id }}.zip
if-no-files-found: error