Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI: Fixed Windows release building #1392

Merged
merged 1 commit into from
May 30, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 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,24 @@ 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"
name: "Development Build"
tag_name: "latest"
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 }}"