-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (34 loc) · 1017 Bytes
/
first.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
name: Run Custom Action
env:
FILE_NAME: my_upload
on: push
jobs:
test:
name: Test files
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Run Script
run: python hello.py
build:
name: Build project
needs: test
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Create Artifact
uses: actions/upload-artifact@v2
with:
name: ${{ env.FILE_NAME }}
path: .
release:
name: Run custom action
needs: build
runs-on: ubuntu-latest
steps:
- name: Create release
uses: munapower/munaActions@main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}