-
Notifications
You must be signed in to change notification settings - Fork 8
37 lines (33 loc) · 1.06 KB
/
compile.yml
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
name: Compile scripts
on: [push]
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true
jobs:
compile_scripts:
name: Compile scripts
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Compile
shell: pwsh
run: "shell_scripts/compile.ps1"
- name: Deploy all
if: github.repository_owner == 'ate47' && github.ref == 'refs/heads/master'
shell: pwsh
run: "shell_scripts/deploy.ps1 -Token \"${{ secrets.T7_CUSTOM_COMPILER_TOKEN }}\""
- name: Upload release
uses: ncipollo/release-action@v1
if: github.repository_owner == 'ate47' && github.ref == 'refs/heads/master'
with:
commit: ${{ github.sha }}
token: ${{ secrets.GITHUB_TOKEN }}
tag: "latest_build"
artifacts: "deploy/*"
artifactErrorsFailBuild: true
makeLatest: false
removeArtifacts: true
replacesArtifacts: true
allowUpdates: true
name: "Atian menu"
bodyFile: "shell_scripts/release.md"