Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lab 1

Create a new repository and release it, then publish it to the marketplace.

Tips

Setup

Create a repository with the content of this folder.

release-workflow.yaml will run but do NOT generate a release.

setup result

Release it

  • Create a second job release which needs the testing job to be successful
  • Run the semantic release throught its action on repository sources

⚠️ Be vigilant on the default branch naming, semantic release only accept a set of branches to run on.

Publish it

  • Add required syntax to the action.yaml file to publish on the Marketplace
  • Edit latest release to publish it
    • Fix any marketplace publication errors
    • Choose one or two categories as you want (not relevant to this lab)
  • Search for your action on the Marketplace

Test it

Create a new workflow testing-workflow.yaml to test your action from an user point of view

name: Testing your public action
on: push
jobs:
  testing:
    runs-on: ubuntu-latest
    steps:
      - uses: you/your-action@v1.x.x

Teardown

⚠️ Do not forget to unpublish this action at the end of the Lab.

Finish

release-workflow.yaml will run and generate a new release based on the commit history.

finish result

Use the release-workflow.yaml, the .releaserc, and the action.yaml from the solution to compare it with your solution.

About

Github actions dev

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors