Skip to content

Commit

Permalink
feat: inherited msix-build branch set-version job
Browse files Browse the repository at this point in the history
  • Loading branch information
yannouuuu committed Aug 9, 2024
1 parent 2f8b2c7 commit ef611ec
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,18 @@ permissions:
contents: write

jobs:
set-version:
runs-on: ubuntu-latest
outputs:
latest_tag: ${{ steps.get_latest_tag.outputs.LATEST_TAG }}
steps:
- name: Get latest release tag (including pre-releases)
id: get_latest_tag
run: |
LATEST_TAG=$(curl -s "https://api.github.com/repos/zed-industries/zed/releases" | jq -r 'first | .tag_name')
echo "LATEST_TAG=$LATEST_TAG" >> $GITHUB_ENV
echo "Latest tag found (including pre-releases): $LATEST_TAG"
build-windows-amd64:
runs-on: windows-latest
steps:
Expand Down

0 comments on commit ef611ec

Please sign in to comment.