Skip to content

Commit

Permalink
CI: Fixed Windows release building
Browse files Browse the repository at this point in the history
  • Loading branch information
stephendade committed May 29, 2024
1 parent 619cb2e commit 2b9cb21
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions .github/workflows/windows_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ jobs:
python-version: ['3.10']

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: 'recursive'
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
Expand Down Expand Up @@ -58,24 +58,23 @@ jobs:
ISCC.exe /dMyAppVersion=$env:VERSION mavproxy.iss
ls Output
- name: Archive build
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: MAVProxyInstaller
path: windows/Output
retention-days: 7
- name: Pre Release
uses: "marvinpinto/action-automatic-releases@latest"
uses: "softprops/action-gh-release@v2"
if: github.ref == 'refs/heads/master'
with:
automatic_release_tag: "latest"
prerelease: true
title: "Development Build"
files: windows/Output/*.*
repo_token: "${{ secrets.GITHUB_TOKEN }}"
token: "${{ secrets.GITHUB_TOKEN }}"
- name: Release
uses: "marvinpinto/action-automatic-releases@latest"
uses: "softprops/action-gh-release@v2"
if: startsWith(github.ref, 'refs/tags/v')
with:
prerelease: false
files: windows/Output/*.*
repo_token: "${{ secrets.GITHUB_TOKEN }}"
token: "${{ secrets.GITHUB_TOKEN }}"

0 comments on commit 2b9cb21

Please sign in to comment.