Skip to content

Commit

Permalink
workflow update: apply again the release workflow authentication chan…
Browse files Browse the repository at this point in the history
…ges, and undo the previous revert
  • Loading branch information
javierggt committed Dec 17, 2020
1 parent fd938d7 commit 9add3d2
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
repository: sot/skare3_tools
ref: master
path: skare3_tools
- uses: sot/setup-miniconda@v1
- uses: sot/setup-miniconda@v2
with:
miniconda-version: "py38_4.8.3"
python-version: "3.8"
Expand Down
26 changes: 26 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Release
on:
release:
types:
- released

jobs:
patch-release:
runs-on: ubuntu-latest
name: Patch Release
steps:
- name: Fetch Skare3 Tools
uses: actions/checkout@v2
with:
repository: sot/skare3_tools
ref: master
path: skare3_tools
- name: Release Description and Skare3 Issue
run: |
sudo -H pip3 install setuptools wheel
sudo -H pip3 install -r ./skare3_tools/requirements.txt
sudo -H pip3 install ./skare3_tools
skare3-release-merge-info --repository $GITHUB_REPOSITORY --sha $GITHUB_SHA
skare3-create-issue --repository sot/skare3 --latest-release $GITHUB_REPOSITORY --label 'Package update'
env:
GITHUB_API_TOKEN: ${{ secrets.SKARE3_CI_API_TOKEN }}

0 comments on commit 9add3d2

Please sign in to comment.