Skip to content

Commit

Permalink
Update testing.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
fenix-hub authored Dec 18, 2023
1 parent b5e5683 commit dd8bf5f
Showing 1 changed file with 26 additions and 4 deletions.
30 changes: 26 additions & 4 deletions .github/workflows/testing.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,38 @@ name: Godot Engine JWT - Testing
on: [push]

jobs:
say-hello:
name: Say Hello
test:
name: Test and Publish
runs-on: ubuntu-latest

steps:
# Change @main to a specific commit SHA or version tag, e.g.:
# actions/hello-world-docker-action@e76147da8e5c81eaf017dede5645551d4b94427b
# actions/hello-world-docker-action@v1.2.3
- name: Print to Log
id: print-to-log
- name: Test library
id: test-library
uses: fenix-hub/gd-jwt-testing@main
with:
who-to-greet: ${{ inputs.who-to-greet }}

publish:
name: Create Release
runs-on: ubuntu-latest
needs: test
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
body: |
Changes in this Release
- First Change
- Second Change
draft: false
prerelease: false

0 comments on commit dd8bf5f

Please sign in to comment.