Skip to content

Deploy to by @id88

Deploy to by @id88 #4

Workflow file for this run

name: MyWorkflows
run-name: Deploy to ${{ inputs.deploy_target }} by @${{ github.actor }}
on:
push:
branches: [main]
paths-ignore:
- "**.md"
- "**.spec.js"
- ".idea"
- ".vscode"
- ".dockerignore"
- "Dockerfile"
- ".gitignore"
- ".github/**"
- "!.github/workflows/build.yml"
jobs:
build-project:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-latest]
env:
BASE_DIR: ${{ GITHUB_ACTION_PATH }}

Check failure on line 27 in .github/workflows/build.yml

View workflow run for this annotation

GitHub Actions / MyWorkflows

Invalid workflow file

The workflow is not valid. .github/workflows/build.yml (Line: 27, Col: 17): Unrecognized named-value: 'GITHUB_ACTION_PATH'. Located at position 1 within expression: GITHUB_ACTION_PATH
steps:
- name: Checkout Code
uses: actions/checkout@v3
- name: Install linux dependencies
# if: runner.os == 'Linux'
if: matrix.os == 'ubuntu-latest'
run: |
echo "The operating system on the runner is $env:RUNNER_OS."
sudo apt-get update -y && sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.0-dev build-essential pkg-config
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: '1.20'
- name: Setup Wails CLI v2.6.0
run: go install github.com/wailsapp/wails/v2/cmd/[email protected]
- name: Checkout Wails
run: wails doctor
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 18
- name: Creating project with a template
run: |
cd ..
wails init -n my-wails-project -t wails-vite-vue-ts-navie-pinia
- name: Build Release Files
run: |
cd ../my-wails-project
wails build
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Upload Artifact
uses: actions/upload-artifact@v3
with:
name: release_on_${{ matrix.os }}
path: release/
retention-days: 5