Update .forgejo/workflows/release.yml
This commit is contained in:
parent
8f3ddcae10
commit
f6267abdd5
1 changed files with 5 additions and 2 deletions
|
@ -107,9 +107,12 @@ jobs:
|
|||
- name: Create release and upload JAR to Forgejo
|
||||
run: |
|
||||
# Install Forgejo CLI
|
||||
curl -sSL https://codeberg.org/forgejo/forgejo-cli/releases/latest/download/forgejo-linux-amd64 -o /usr/local/bin/forgejo
|
||||
curl -sSL https://codeberg.org/forgejo/forgejo-cli/releases/v0.7.0/download/forgejo-linux-amd64 -o /usr/local/bin/forgejo
|
||||
chmod +x /usr/local/bin/forgejo
|
||||
|
||||
|
||||
# Verify binary
|
||||
file /usr/local/bin/forgejo
|
||||
|
||||
# Configure Forgejo CLI with token
|
||||
forgejo config --host https://git.oguerreiro.com --token "${{ secrets.FORGEJO_TOKEN }}"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue