Take 3 #17
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: Run Custom Action | |
env: | |
FILE_NAME: my_upload | |
on: push | |
jobs: | |
test: | |
name: Test files | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v1 | |
- name: Run Script | |
run: python hello.py | |
build: | |
name: Build project | |
needs: test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v1 | |
- name: Create Artifact | |
uses: actions/upload-artifact@v2 | |
with: | |
name: ${{ env.FILE_NAME }} | |
path: . | |
release: | |
name: Run custom action | |
needs: build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Create release | |
uses: munapower/munaActions@main | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |