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
|
echo Create a tag
|
||||||
git tag "$VERSION"
|
git tag "$VERSION"
|
||||||
git tag -f v0
|
|
||||||
git push --tags --force
|
git push --tags --force
|
||||||
|
|
||||||
echo Create a release
|
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
|
- name: Download the browser
|
||||||
working-directory: ${{ github.action_path }}
|
working-directory: ${{ github.action_path }}
|
||||||
run: |
|
run: |
|
||||||
|
set -x
|
||||||
INSTALL_PATH=${INSTALL_PATH:-/opt/${TARGET%%:*}}
|
INSTALL_PATH=${INSTALL_PATH:-/opt/${TARGET%%:*}}
|
||||||
./setup-browser install \
|
./setup-browser install \
|
||||||
-cache-path cache \
|
-cache-path cache \
|
||||||
-install-to "$INSTALL_PATH" \
|
-install-to "$INSTALL_PATH" \
|
||||||
${{ inputs.target }}
|
"${TARGET}"
|
||||||
echo "$(dirname "$INSTALL_PATH")" >> "$GITHUB_PATH"
|
echo "$(dirname "$INSTALL_PATH")" >> "$GITHUB_PATH"
|
||||||
shell: bash
|
shell: bash
|
||||||
env:
|
env:
|
||||||
|
|
Loading…
Reference in a new issue