* Only install Python deps with deps script * Remove hard-coded Qt version in CI * Add example .env * Improve comments in .env file * Simplify config reader and Choco CI config * Actually return the config value * Move deps before Qt version env call * Remove `self.` * Move venv ensure to main * Fixed arg * Move config import to function * Move ensure_module to function * Simplify over-complicated `Version.cmake` * Move code to `github` module * Use `symless/next-version-action` * Make CMake version file even simpler * Set version from tag * Create release when master or release branch * Don't run CI on master push, only release * Fixed bac macro * Use new version values * Handle empty version env var * Also strip version file value * Remove quotes * Add @master to action * Read version from file * Simplify version file read * Fixed typo in env var * Remove unused var * Delete legacy build number action * Fixed env var * Version file read shouldn't be needed * Remove weird and unnecessary include path * Update ChangeLog * Remove unused config value * Better name for changelog check * Delete broken Flatpak CI * Run stale issue cron at midnight * Update ChangeLog * Add version input for manual run * Print next version * Fetch all tags * Use more idiomatic approach * Set to pre-release when master * Remove unnecessary `commitish` * Fixed wrong ID * More specific IDs * Reduce config needed for upload * Only /release can be non-pre-release * More discreet package path for gdrive * Try without setting path * Remove seemly unused step * Better name for Qt version step * Fixed bad var ref * Better name for package dir * Fixed bad input name * Add missing shell * Workflow to test upload action * Remove fetch tags * Use bash to cut version * Remove name and make conditional * Replace deprecated set-output * Fixed env var name * Missing dir sep char * Add comment to test workflow * Improve input descriptions * Replace deprecated set-output
39 lines
907 B
YAML
39 lines
907 B
YAML
# Used only for testing the `dist-upload` action.
|
|
# Triggered using 'Run workflow' in the Actions tab.
|
|
|
|
name: Test dist upload
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 10
|
|
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Make test dist
|
|
run: |
|
|
mkdir dist
|
|
echo "test" > dist/test
|
|
|
|
- name: Upload to GitHub
|
|
if:
|
|
uses: ./.github/actions/dist-upload
|
|
with:
|
|
use_github: true
|
|
github-target-filename: "test"
|
|
|
|
- name: Upload to Google Drive
|
|
if:
|
|
uses: ./.github/actions/dist-upload
|
|
with:
|
|
use_gdrive: true
|
|
gdrive-target-base-dir: "test"
|
|
gdrive-secret-key: ${{ secrets.GOOGLE_DRIVE_KEY }}
|
|
gdrive-parent-folder-id: ${{ secrets.GOOGLE_DRIVE_TECH_DRIVE }}
|
|
package-version: 1.0.0-test
|