43 lines
976 B
YAML
43 lines
976 B
YAML
name: UiNamed workflow
|
|
|
|
on:
|
|
push:
|
|
branches: ["main"]
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: docker
|
|
|
|
steps:
|
|
- name: Setup repo
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Check repo
|
|
run: ls -lah
|
|
|
|
- name: Test secrets
|
|
run: echo ${{ secrets.SSH_Key_sample }}
|
|
|
|
- name: Setup deno
|
|
run: curl -fsSL https://deno.land/install.sh | DENO_INSTALL=/usr/local sh
|
|
|
|
- name: Make changelog
|
|
id: changelog
|
|
run: |
|
|
{
|
|
echo 'CHANGELOG<<!EOF'
|
|
deno run -RWES --allow-run=git,cmd npm:conventional-changelog-cli -p conventionalcommits
|
|
echo '!EOF'
|
|
} >> "$GITHUB_OUTPUT"
|
|
|
|
- name: Upload release
|
|
uses: actions/forgejo-release@v2
|
|
with:
|
|
direction: upload
|
|
release-dir: .vscode
|
|
token: ${{ secrets.FORGEJO_TOKEN }}
|
|
release-notes: ${{ steps.changelog.outputs.CHANGELOG }}
|
|
|
|
- name: Test deno
|
|
run: deno --version
|