Test Action #157
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test Action | |
on: | |
push: | |
branches: | |
- main | |
- dev | |
pull_request: | |
branches: | |
- main | |
workflow_dispatch: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
repo: ["thunderstore.dev", ""] | |
include: | |
- patch: 0 | |
repo: thunderstore.dev | |
- patch: 1 | |
repo: "" | |
- patch: 3 | |
repo: thunderstore.dev | |
readme: "https://raw.githubusercontent.com/GreenTF/upload-thunderstore-package/main/README.md" | |
icon: "https://raw.githubusercontent.com/GreenTF/upload-thunderstore-package/main/icon.png" | |
steps: | |
- uses: actions/checkout@v4 | |
- id: pub | |
name: test publish | |
uses: ./ | |
with: | |
namespace: GreenTF | |
name: Test | |
dev: true | |
token: ${{ secrets.TS_KEY }} | |
description: | | |
The FitnessGram Pacer test is a multistage aerobic capacity test that progressively gets more difficult as it continues. | |
The 20 meter Pacer test will begin in 30 seconds. | |
Line up at the start. The running speed starts slowly, but gets faster each minute after you hear this signal *boop*. | |
A single lap should be completed each time you hear this sound *ding*. Remember to run in a straight line, and run as long as possible. | |
The second time you fail to complete a lap before the sound, your test is over. The test will begin on the word start. | |
On your mark, get ready, start. | |
version: v0.${{ github.run_number }}.${{ matrix.patch }} | |
community: riskofrain2 | |
repo: ${{ matrix.repo }} | |
readme: ${{ matrix.readme }} | |
icon: ${{ matrix.icon }} | |
wrap: mods | |
website: "https://greenboi.me" | |
categories: | | |
mods | |
maps | |
tools | |
items | |
deps: | | |
[email protected] | |
- run: echo ${{ steps.pub.outputs.url }} | |
- name: Verify published package | |
run: python verify.py | |
# publish: | |
# needs: test | |
# if: github.event_name == 'push' | |
# runs-on: ubuntu-latest | |
# steps: | |
# - name: Create Release | |
# uses: marvinpinto/action-automatic-releases@latest | |
# with: | |
# repo_token: ${{ secrets.GITHUB_TOKEN }} | |
# prelease: false |