misc fixes
This commit is contained in:
parent
8bc10b1486
commit
5c2fefee0d
3 changed files with 20 additions and 2 deletions
|
@ -31,7 +31,6 @@ jobs:
|
|||
|
||||
echo Create a tag
|
||||
git tag "$VERSION"
|
||||
git tag -f v0
|
||||
git push --tags --force
|
||||
|
||||
echo Create a release
|
||||
|
|
18
.forgejo/workflows/move-action-tag.yaml
Normal file
18
.forgejo/workflows/move-action-tag.yaml
Normal 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
|
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue