Skip to content

Commit

Permalink
update actions
Browse files Browse the repository at this point in the history
  • Loading branch information
meisnate12 committed Jan 2, 2024
1 parent f365df7 commit e7bbe28
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 5 deletions.
15 changes: 11 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: release
name: Release

on:
create:
Expand All @@ -10,21 +10,28 @@ jobs:
name: Release
runs-on: ubuntu-latest
steps:

- name: Create Release for new Tag
uses: marvinpinto/action-automatic-releases@latest
with:
title: ArrAPI ${{ github.event.ref }}
repo_token: ${{ secrets.PAT }}
prerelease: false
- uses: actions/checkout@v3

- name: Check Out Repo
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: '3.x'

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel twine
pip install wheel twine
pip install --no-cache-dir --upgrade --requirement requirements.txt
- name: Build and publish
env:
TWINE_USERNAME: __token__
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,12 @@ jobs:
tag-new-versions:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- uses: actions/checkout@v4
with:
token: ${{ secrets.PAT }}
fetch-depth: 2

- uses: salsify/action-detect-and-tag-new-version@v1.0.3
with:
version-command: |
Expand Down

0 comments on commit e7bbe28

Please sign in to comment.