Fix workflow

This commit is contained in:
Djuri Baars 2024-11-26 16:57:33 +01:00
parent 0b3f6d3de1
commit 6028268227

View file

@ -2,6 +2,8 @@ on: [push]
jobs: jobs:
check-changes: check-changes:
runs-on: docker runs-on: docker
outputs:
all_changed_and_modified_files_count: ${{ steps.changed-files.outputs.all_changed_and_modified_files_count }}
steps: steps:
- name: Checkout code - name: Checkout code
uses: actions/checkout@v4 uses: actions/checkout@v4
@ -105,11 +107,11 @@ jobs:
if: github.event_name == 'push' && github.ref == 'refs/heads/main' if: github.event_name == 'push' && github.ref == 'refs/heads/main'
uses: https://code.forgejo.org/actions/forgejo-release@v2.4.0 uses: https://code.forgejo.org/actions/forgejo-release@v2.4.0
with: with:
url: "https://git.btclock.dev/" url: 'https://git.btclock.dev/'
repo: "${{ github.repository }}" repo: '${{ github.repository }}'
direction: upload direction: upload
tag: ${{ steps.getBlockHeight.outputs.blockHeight }} tag: ${{ steps.getBlockHeight.outputs.blockHeight }}
sha: "${{ github.sha }}" sha: '${{ github.sha }}'
release-dir: output release-dir: output
token: ${{ secrets.TOKEN }} token: ${{ secrets.TOKEN }}
override: false override: false