misc fixes

This commit is contained in:
Bruno Carlin 2024-12-27 01:01:34 +01:00
parent 8bc10b1486
commit 5c2fefee0d
Signed by: bcarlin
GPG key ID: 8E254EA0FFEB9B6D
3 changed files with 20 additions and 2 deletions

View file

@ -31,7 +31,6 @@ jobs:
echo Create a tag
git tag "$VERSION"
git tag -f v0
git push --tags --force
echo Create a release

View file

@ -0,0 +1,18 @@
on:
push:
branches:
- main
paths:
- 'src/*.v'
- action.yml
jobs:
build:
name: Move action tag
runs-on: docker
steps:
- uses: actions/checkout@v4
- name: Upload binary as generic package and create a release
run: |
set -e
git tag -f v0
git push --tags --force

View file

@ -27,11 +27,12 @@ runs:
- name: Download the browser
working-directory: ${{ github.action_path }}
run: |
set -x
INSTALL_PATH=${INSTALL_PATH:-/opt/${TARGET%%:*}}
./setup-browser install \
-cache-path cache \
-install-to "$INSTALL_PATH" \
${{ inputs.target }}
"${TARGET}"
echo "$(dirname "$INSTALL_PATH")" >> "$GITHUB_PATH"
shell: bash
env: