Skip to content

build-snapshot

build-snapshot #92

Workflow file for this run

name: build-snapshot
on:
workflow_dispatch:
push:
paths:
- 'components/**'
- 'plugins/**'
- 'sdk/**'
- 'src/**'
branches:
- master
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true
jobs:
build-win:
runs-on: windows-latest
steps:
- name: Checkout source
uses: actions/checkout@v5
with:
fetch-depth: 0
- name: Build packages
run: ./.github/scripts/create_snapshot.bat
- name: Save revision number
run: echo "REVISION=$(git rev-list --count HEAD)" >> "$GITHUB_ENV"
shell: bash
- name: Upload binaries to release
uses: svenstaro/upload-release-action@v2
with:
repo_name: alexx2000/snapshots
repo_token: ${{ secrets.SNAPSHOTS }}
file: doublecmd-release/doublecmd*.7z
tag: ${{ env.REVISION }}
overwrite: true
file_glob: true