-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (29 loc) · 938 Bytes
/
main.yaml
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
---
on: [push]
jobs:
bump-version:
name: increament version
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v2
# - name: increment tag
# id: increment-tag
# uses: vishnuatrai-labs/increment-git-tag@main
# with:
# version-type: patch
# - name: get the new version
# run: echo "New version is available ${{ steps.increment-tag.outputs.new-version }}"
- name: generate artifact file
run: mkdir -p artifacts_files && echo "Generating artifact files" >> artifacts_files/test.txt
- name: upload artifact
uses: actions/upload-artifact@v3
with:
name: samples artifact files
path: artifacts_files
- name: download artifacts
uses: actions/download-artifact@v3
with:
name: samples artifact files
- name: test artifact
run: ls -R