Skip to content

Commit f2d5725

Browse files
committed
debugging conda workflow
1 parent 098ce30 commit f2d5725

File tree

2 files changed

+20
-8
lines changed

2 files changed

+20
-8
lines changed

.github/workflows/create-release.yml

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -71,10 +71,16 @@ jobs:
7171
REPO: ${{ github.repository }}
7272

7373
- name: Create Tag
74-
uses: laputansoft/github-tag-action@v4.6
74+
run: |
75+
set -x
76+
77+
git tag "conda-${{ needs.version_check.outputs.PCAPKIT_VERSION }}+0" -m"Conda Build"
78+
79+
- name: Push Changes
80+
uses: ad-m/github-push-action@master
7581
with:
7682
github_token: ${{ secrets.GITHUB_TOKEN }}
77-
tag: "conda-${{ needs.version_check.outputs.PCAPKIT_VERSION }}+0"
83+
tags: true
7884

7985
- name: Create Release
8086
id: create_release
@@ -103,12 +109,12 @@ jobs:
103109
strategy:
104110
matrix:
105111
python-version:
106-
- "3.7"
112+
# - "3.7"
107113
- "3.8"
108114
- "3.9"
109115
- "3.10"
110116
- "3.11"
111-
- "pypy3.7"
117+
# - "pypy3.7"
112118
- "pypy3.8"
113119
- "pypy3.9"
114120
steps:
@@ -181,7 +187,7 @@ jobs:
181187
steps:
182188
- uses: actions/checkout@v3
183189
with:
184-
ref: v${{ needs.version_check.outputs.PCAPKIT_VERSION }}
190+
ref: conda-${{ needs.version_check.outputs.PCAPKIT_VERSION }}+0
185191
fetch-depth: 0
186192

187193
- uses: actions/setup-python@v4

.github/workflows/cron-conda.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,11 +100,16 @@ jobs:
100100
echo "PCAPKIT_BUILD=$(cat conda/build)" >> $GITHUB_OUTPUT
101101
102102
- name: Create Tag
103-
if: steps.verify-changed-files.outputs.files_changed == 'true'
104-
uses: laputansoft/github-tag-action@v4.6
103+
run: |
104+
set -x
105+
106+
git tag "conda-${{ steps.get_version.outputs.PCAPKIT_VERSION }}+${{ steps.get_version.outputs.PCAPKIT_BUILD }}" -m"Conda Build"
107+
108+
- name: Push Changes
109+
uses: ad-m/github-push-action@master
105110
with:
106111
github_token: ${{ secrets.GITHUB_TOKEN }}
107-
tag: "conda-${{ steps.get_version.outputs.PCAPKIT_VERSION }}+${{ steps.get_version.outputs.PCAPKIT_BUILD }}"
112+
tags: true
108113

109114
outputs:
110115
CONDA_CHANGED: ${{ steps.verify-changed-files.outputs.files_changed }}
@@ -127,6 +132,7 @@ jobs:
127132
steps:
128133
- uses: actions/checkout@v3
129134
with:
135+
ref: conda-${{ needs.conda-update.outputs.PCAPKIT_VERSION }}+${{ needs.conda-update.outputs.PCAPKIT_BUILD }}
130136
fetch-depth: 0
131137

132138
- uses: actions/setup-python@v4

0 commit comments

Comments
 (0)