Skip to content

Commit

Permalink
add unity workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
aleneum committed Nov 12, 2023
1 parent 48c8fca commit ce3c2ce
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/package-unity.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Publish avikom-unity-types
on:
release:
types: [created]
push:
branches:
- dev-gha
- dev-gha-unity
jobs:
publish-unity:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.10
uses: actions/setup-python@v3
with:
python-version: "3.10"
- name: Setup dotnet 6.0
uses: actions/setup-dotnet@v3
with:
dotnet-version: |
6.0.x
- name: Generate tagged version
if: startsWith(github.ref, 'refs/tags')
run: make unity
env:
VERSION: ${{ github.ref_name }}
EMAIL: github-actions[bot]@users.noreply.github.com
USER: github-actions[bot]
- name: Generate test version
if: "!startsWith(github.ref, 'refs/tags')"
run: make unity
env:
VERSION: 0.10.0.dev${{ github.run_number }}
EMAIL: github-actions[bot]@users.noreply.github.com
USER: github-actions[bot]

0 comments on commit ce3c2ce

Please sign in to comment.