name: Generate Release run-name: Release_Generator on: push: branches: # - main - nulls jobs: validate_and_release: runs-on: ubuntu-latest steps: - name: Check out Repo code uses: actions/checkout@v3 - name: Validate YAML uses: https://github.com/GrantBirki/json-yaml-validate@v2.6.1 - name: Get current timestamp id: timestamp run: echo "::set-output name=date::$(date +'%Y%m%d_%H%M%S')" - name: Create Release if: success() uses: akkuman/gitea-release-action@v1 env: NODE_OPTIONS: '--experimental-fetch' with: body: Automatic release after changes tag_name: ${{ steps.timestamp.outputs.date }} name: ${{ steps.timestamp.outputs.date }} token: ${{ secrets.OWLBOT_KEY }}