[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
# and submitted pull request. This can help catch issues that only occur on
# certain platforms or Java versions, and provides a first line of defence
# against bad commits.
name: build
on: [pull_request, push]
name: Build ExploreCraft Tweaks
#on: [pull_request, push]
on:
push:
tags:
- '*'
jobs:
build:

View file

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