-
Notifications
You must be signed in to change notification settings - Fork 0
49 lines (48 loc) · 1.38 KB
/
testme.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
42
43
44
45
46
47
48
49
on:
push:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: deps
run: pip install ruff
- uses: actions/checkout@v3
- name: lint
run: ruff upload.py
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: update-only
uses: ./
with:
meta-path: test/meta.json
do-upload: false
key-id: ${{ secrets.viam_key_id }}
key-value: ${{ secrets.viam_key_value }}
- name: upload-with-meta-path
uses: ./
with:
meta-path: test/meta.json
module-path: test/module.tar.gz
do-upload: true
platform: "linux/amd64"
version: "0.0.0-${{ github.run_id }}-${{ github.run_attempt }}"
key-id: ${{ secrets.viam_key_id }}
key-value: ${{ secrets.viam_key_value }}
- name: upload-no-meta-path
uses: ./
with:
name: upload-ci-test
org-id: ${{ secrets.test_org_id }}
meta-path: ''
module-path: test/module.tar.gz
do-upload: true
do-update: false
platform: "linux/amd64"
version: "0.0.1-${{ github.run_id }}-${{ github.run_attempt }}"
key-id: ${{ secrets.viam_key_id }}
key-value: ${{ secrets.viam_key_value }}