forked from rotorflight/rotorflight-lua-scripts
-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (26 loc) · 700 Bytes
/
Copy pathtesting.yml
File metadata and controls
35 lines (26 loc) · 700 Bytes
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
name: Testing
on:
push:
tags:
- 'testing/*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Lua compiler
run: sudo apt-get -y install lua5.2
- name: Set build variables
run: |
echo "GIT_VER=${GITHUB_REF##*/}" >> ${GITHUB_ENV}
echo "GIT_TAG=${GITHUB_REF##refs/tags/}" >> ${GITHUB_ENV}
cat ${GITHUB_ENV}
- name: Make test files
run: make files
- name: Upload Artifacts
uses: actions/upload-artifact@v4
with:
name: rotorflight-lua-scripts-testing-${{ env.GIT_VER }}
path: ./obj
- name: Delete tag
run: git push origin :${GITHUB_REF}