From 42e78c21ee69c42c00447f66af9f1314c46d7170 Mon Sep 17 00:00:00 2001 From: Simon Pucheu <104694344+SimonPucheu@users.noreply.github.com> Date: Thu, 25 Jan 2024 17:29:42 +0100 Subject: [PATCH] Create main.yml --- .github/workflows/main.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 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..1c43b87 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,28 @@ +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 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + tag_name: 1.${{ github.run_number }} + release_name: Release ${{ github.run_number }}