Skip to content
Merged
Show file tree
Hide file tree
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
5 changes: 4 additions & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
pull_request:
branches: [ main ]

permissions:
contents: read

jobs:
build_linux:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -41,7 +44,7 @@ jobs:
runs-on: windows-latest
steps:
- uses: actions/checkout@v6
- uses: ilammy/msvc-dev-cmd@v1
- uses: ilammy/msvc-dev-cmd@0b201ec74fa43914dc39ae48a89fd1d8cb592756 # v1.13.0
- name: nmake debug build
run: |
nmake -f Makefile.noauto windows_debug
10 changes: 8 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ on:
tags:
- 'v*'

permissions:
contents: read

jobs:
build_linux:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -45,7 +48,7 @@ jobs:
QSTAT_VERSION: ${{ github.ref_name }}
steps:
- uses: actions/checkout@v6
- uses: ilammy/msvc-dev-cmd@v1
- uses: ilammy/msvc-dev-cmd@0b201ec74fa43914dc39ae48a89fd1d8cb592756 # v1.13.0
- name: nmake
run: |
nmake -f Makefile.noauto windows windows_debug
Expand All @@ -57,6 +60,9 @@ jobs:
# https://github.com/vmactions/freebsd-vm
release:
runs-on: ubuntu-latest
permissions:
# needed to create the GitHub release
contents: write
needs:
- build_windows
- build_linux
Expand All @@ -69,7 +75,7 @@ jobs:
- name: zip
run: zip -r release.zip bin/* qstat.cfg contrib.cfg LICENSE.*
- name: Release
uses: softprops/action-gh-release@v2
uses: softprops/action-gh-release@3bb12739c298aeb8a4eeaf626c5b8d85266b0e65 # v2.6.2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
Expand Down
Loading