Parse release names instead of just the tag names to manage sub-relea… #46
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: Main workflow | |
on: | |
push: | |
paths-ignore: | |
- "**.md" | |
pull_request: | |
paths-ignore: | |
- "**.md" | |
jobs: | |
plugin_test: | |
strategy: | |
matrix: | |
os: | |
- macos-latest | |
- ubuntu-latest | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: asdf_plugin_test | |
uses: asdf-vm/actions/plugin-test@v1 | |
with: | |
command: mvnd -v | |
# Last version on Github | |
version: 0.7.1 | |
env: | |
GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: asdf_plugin_test | |
uses: asdf-vm/actions/plugin-test@v1 | |
with: | |
command: mvnd -v | |
# First Apache release | |
version: 0.8.0 | |
env: | |
GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: asdf_plugin_test | |
uses: asdf-vm/actions/plugin-test@v1 | |
with: | |
command: mvnd -v | |
# First release with different directory in ZIP archive | |
version: 0.8.1 | |
env: | |
GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: asdf_plugin_test | |
uses: asdf-vm/actions/plugin-test@v1 | |
with: | |
command: mvnd -v | |
# First release with support for Apple M1/M2 | |
version: 0.8.2 | |
env: | |
GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: asdf_plugin_test | |
uses: asdf-vm/actions/plugin-test@v1 | |
with: | |
command: mvnd -v | |
# Unreleased milestone on GitHub | |
version: 1.0.0-m1 | |
env: | |
GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: asdf_plugin_test | |
uses: asdf-vm/actions/plugin-test@v1 | |
with: | |
command: mvnd -v | |
env: | |
GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: asdf_plugin_test | |
uses: asdf-vm/actions/plugin-test@v1 | |
with: | |
command: mvnd -v | |
# version named differently than the tag | |
version: 1.0-m6-m39 | |
env: | |
GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }} |