ci: authenticate with forgejo
This commit is contained in:
parent
afaa33dabf
commit
511108b81f
3 changed files with 11 additions and 8 deletions
4
.github/workflows/build-nightly.yml
vendored
4
.github/workflows/build-nightly.yml
vendored
|
@ -12,5 +12,9 @@ jobs:
|
|||
steps:
|
||||
- uses: https://code.forgejo.org/actions/checkout@v4
|
||||
- uses: https://git.rgst.io/rgst-io/mise-action@v2
|
||||
- name: Authenticate with Forgejo
|
||||
env:
|
||||
FORGEJO_TOKEN: ${{ secrets.FORGEJO_TOKEN }}
|
||||
run: fj --host git.rgst.io auth add-key forgejo-actions "$FORGEJO_TOKEN"
|
||||
- name: Build Nightly
|
||||
run: ./run.sh
|
||||
|
|
14
run.sh
14
run.sh
|
@ -26,11 +26,11 @@ rmdir builds/builds
|
|||
|
||||
sudo chown "$(id -u):$(id -g)" "./builds/"*
|
||||
|
||||
# # upload the artifacts
|
||||
# appimage_path=$(basename "$(find "./builds" -maxdepth 1 -name "*.AppImage" -print | head -n 1)")
|
||||
# release_name="${appimage_path//citron-/}"
|
||||
# release_name="${release_name//.AppImage/}"
|
||||
# upload the artifacts
|
||||
appimage_path=$(basename "$(find "./builds" -maxdepth 1 -name "*.AppImage" -print | head -n 1)")
|
||||
release_name="${appimage_path//citron-/}"
|
||||
release_name="${release_name//.AppImage/}"
|
||||
|
||||
# echo "Create release $release_name"
|
||||
# fj --host git.rgst.io release --repo jaredallard/citron-nightly create \
|
||||
# --create-tag --attach ./builds/"$appimage_path" "$release_name"
|
||||
echo "Create release $release_name"
|
||||
fj --host git.rgst.io release --repo jaredallard/citron-nightly create \
|
||||
--create-tag --attach ./builds/"$appimage_path" "$release_name"
|
||||
|
|
|
@ -51,7 +51,6 @@ cmake .. -GNinja \
|
|||
-DBUNDLE_SPEEX=ON \
|
||||
-DCMAKE_BUILD_TYPE=Release
|
||||
|
||||
#ninja clean
|
||||
ninja
|
||||
ninja install
|
||||
popd >/dev/null
|
||||
|
|
Loading…
Add table
Reference in a new issue