From b934bf31140fdf15a7981cad9179d29396a7f441 Mon Sep 17 00:00:00 2001 From: Chakradhar Rao Jonagam Date: Sun, 27 Sep 2020 22:52:42 -0700 Subject: [PATCH] Create main.yml --- .github/workflows/main.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..8743ffb --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,21 @@ +name: Main + +on: push + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v2 + - name: Build + run: echo ${{ github.sha }} > Release.txt + - name: Test + run: cat Release.txt + - name: Release + uses: softprops/action-gh-release@v1 + with: + tag_name: v1 + prerelease: true + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}