Skip to content

Commit

Permalink
Merge pull request #350 from kubilus1/oneunstable
Browse files Browse the repository at this point in the history
One unstable package
  • Loading branch information
kubilus1 authored Sep 1, 2023
2 parents e74b701 + 8552aa4 commit 5690d7f
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 2 deletions.
15 changes: 14 additions & 1 deletion .github/workflows/build_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,10 @@ on:
required: false
type: boolean
default: true

internalver:
required: false
type: string
default: ''

jobs:
build-linux:
Expand All @@ -31,6 +34,11 @@ jobs:
sudo apt-get update && sudo apt-get install -y make ca-certificates
sudo update-ca-certificates
- name: Optionally set internal version separately
if: ${{ inputs.internalver != '' }}
run: |
echo "${{ inputs.internalver }}" > autoortho/.version
- name: Build
run: |
make lin_bin VERSION=${{ env.VERNAME }}
Expand Down Expand Up @@ -69,6 +77,11 @@ jobs:
python -m pip install -U -r requirements.txt
python -m pip install -U -r requirements-build.txt
- name: Optionally set internal version separately
if: ${{ inputs.internalver != '' }}
run: |
echo "${{ inputs.internalver }}" > autoortho/.version
- name: Build
run: |
make win_exe VERSION=${{ env.VERNAME }}
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/unstable_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,15 @@ on:
workflow_dispatch:
push:
branches: [ main ]
#pull_request:

jobs:
getcalver:
runs-on: ubuntu-latest
outputs:
calver: ${{ steps.getcalver.outputs.CALVER }}
steps:
- uses: actions/checkout@v3
- name: Get CalVer
id: getcalver
run: |
Expand All @@ -26,5 +28,6 @@ jobs:
needs: getcalver
uses: ./.github/workflows/build_release.yml
with:
version: ${{ needs.getcalver.outputs.calver }}
version: unstable
internalver: ${{ needs.getcalver.outputs.calver }}
relname: unstable

0 comments on commit 5690d7f

Please sign in to comment.