-
Notifications
You must be signed in to change notification settings - Fork 0
/
sample3.yml
42 lines (33 loc) · 1 KB
/
sample3.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
37
38
39
40
41
---
# A workflow that shows integration of marketplace actions and how artifacts are built and used, alongside Environment Variables
name: Push Trigger
on: push
env:
ARTIFACT_NAME: 'Build files from Artifact!'
jobs:
linux-job:
name:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: upload artifacts
uses: actions/[email protected]
with:
name: ${{ env.ARTIFACT_NAME }}
path: .
- name: Echo an output
run: echo 'Linux build action completed successfully'
windows-job:
name: A windows build job
runs-on: [windows-latest]
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: upload artifacts
uses: actions/[email protected]
with:
name: ${{ env.ARTIFACT_NAME }}
path: .
- name: Echo an output
run: echo 'Windows build action completed successfully'