Skip to content

Commit d768418

Browse files
authored
updated github action release (#23)
1 parent 2910297 commit d768418

File tree

2 files changed

+13
-4
lines changed

2 files changed

+13
-4
lines changed

.github/workflows/pypi-release.yml

+12-3
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,20 @@ on:
55
branches:
66
- main
77

8+
env:
9+
USER_EMAIL: '[email protected]'
10+
USER_NAME: 'CDEvents Bot'
11+
USER_ID: 'cdevents-bot'
12+
813
jobs:
914
build-and-publish:
1015
runs-on: ubuntu-latest
1116
steps:
12-
- uses: actions/checkout@v2
17+
- name: Checkout sources
18+
uses: actions/checkout@v3
19+
with:
20+
fetch-depth: 0
21+
token: ${{ secrets.GH_BOT_TOKEN }}
1322
- name: Set up Python
1423
uses: actions/setup-python@v1
1524
with:
@@ -20,8 +29,8 @@ jobs:
2029
uses: actions/setup-node@v2
2130
with:
2231
node-version: '12'
23-
- run: git config --global user.email "[email protected]"
24-
- run: git config --global user.name "GitHub Actions"
32+
- run: git config --global user.email "${{ env.USER_EMAIL }}"
33+
- run: git config --global user.name "${{ env.USER_NAME }}"
2534
- name: Install github-changes
2635
run: |
2736
npm install -g github-changes

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "cdevents-sdk"
3-
version = "0.0.0"
3+
version = "0.0.1-draft"
44
authors = [
55
{ name="Erik Sternerson", email="[email protected]" },
66
{ name="Evan Elms", email="[email protected]" }

0 commit comments

Comments
 (0)