Commit 11b5650 committed Jun 7, 2023 Verified
1 parent dc4d516 commit 11b5650 Copy full SHA for 11b5650
File tree 2 files changed +33
-2
lines changed
2 files changed +33
-2
lines changed Original file line number Diff line number Diff line change @@ -3,8 +3,8 @@ name: "Conda Update"
3
3
on :
4
4
schedule :
5
5
- cron : ' 0 10 * * 6' # everyday at 10am
6
- # push:
7
- # branches: [main, ]
6
+ push :
7
+ branches : [main, ]
8
8
9
9
jobs :
10
10
get-version :
Original file line number Diff line number Diff line change 7
7
branches : [main, ]
8
8
9
9
jobs :
10
+ get-version :
11
+ runs-on : ubuntu-latest
12
+ steps :
13
+ - uses : actions/checkout@v3
14
+ with :
15
+ fetch-depth : 0
16
+
17
+ - uses : actions/setup-python@v4
18
+ with :
19
+ python-version : ' 3.11'
20
+
21
+ - name : Install and Setup
22
+ run : |
23
+ set -x
24
+
25
+ python -m pip install -U pip setuptools wheel
26
+ python -m pip install -e .
27
+
28
+ - name : Get Version
29
+ id : get_version
30
+ run : |
31
+ set -x
32
+
33
+ echo "PCAPKIT_VERSION=$(python -c 'import pcapkit; print(pcapkit.__version__)')" >> $GITHUB_OUTPUT
34
+
35
+ outputs :
36
+ PCAPKIT_VERSION : ${{ steps.get_version.outputs.PCAPKIT_VERSION }}
37
+
10
38
vendor-update :
11
39
runs-on : macos-latest
40
+ needs : [ get-version ]
12
41
steps :
13
42
- uses : actions/checkout@v3
43
+ with :
44
+ ref : v${{ needs.get-version.outputs.PCAPKIT_VERSION }}
14
45
15
46
- uses : actions/setup-python@v4
16
47
with :
You can’t perform that action at this time.
0 commit comments