From ff452a4835c9308d4201fe87be2b2f70c019a900 Mon Sep 17 00:00:00 2001 From: Simon Pucheu <104694344+SimonPucheu@users.noreply.github.com> Date: Thu, 25 Jan 2024 17:03:13 +0100 Subject: [PATCH] Create main.yml --- .github/workflows/main.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 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..63d8a1b --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,27 @@ +name: Release on Commit + +on: + push: + branches: + - main + +jobs: + release: + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v2 + + - name: Set up Git + run: | + git config --global user.email "104694344+SimonPucheu@users.noreply.github.com" + git config --global user.name "Simon Pucheu" + + - name: Create Release + id: create_release + uses: actions/create-release@v1 + with: + token: ${{ secrets.GITHUB_TOKEN }} + tag_name: ${{ github.sha }} + release_name: Release ${{ github.sha }}