[c] update both workflows
Some checks failed
Build ExploreCraft Tweaks / build (21) (push) Successful in 1m26s
Release Artifacts / upload-artifacts (release) Failing after 10s

This commit is contained in:
Sangelo 2024-06-09 20:16:12 +02:00
parent cb6a129b40
commit d373680665
2 changed files with 12 additions and 15 deletions

View file

@ -1,10 +1,9 @@
# Automatically build the project and run any configured tests for every push name: Build ExploreCraft Tweaks
# and submitted pull request. This can help catch issues that only occur on #on: [pull_request, push]
# certain platforms or Java versions, and provides a first line of defence on:
# against bad commits. push:
tags:
name: build - '*'
on: [pull_request, push]
jobs: jobs:
build: build:

View file

@ -42,12 +42,10 @@ jobs:
done done
shell: bash shell: bash
- name: Upload artifacts to release - name: Publish release
uses: actions/upload-release-asset@v1 uses: https://gitea.com/actions/release-action@main
with: with:
upload_url: ${{ github.event.release.upload_url }} files: |-
asset_path: release_artifacts/* release_artifacts/**
asset_name: artifact.tar.gz api_key: '${{secrets.PUBLISH_TOKEN}}'
asset_content_type: application/gzip
env:
PUBLISH_TOKEN: ${{ secrets.PUBLISH_TOKEN }}