Skip to content
Snippets Groups Projects
Commit 5fb99ef3 authored by Arnaud Levy's avatar Arnaud Levy
Browse files

test

parent bbdc1804
No related branches found
Tags v0.9.15
No related merge requests found
......@@ -3,21 +3,42 @@ on:
release:
types: [published]
jobs:
context:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: GitHub Tag Name
run: |
echo "Tag name from GITHUB_REF_NAME: $GITHUB_REF_NAME"
- name: Get current version
uses: dolittle/write-version-to-file-action@v2
- name: Checkout repo
uses: actions/checkout@v3
- name: Overwrite file
uses: "DamianReeves/write-file-action@master"
with:
version: echo "$GITHUB_REF_NAME"
path: ./.osuny-theme-version
user-email: osuny@noesya.coop
user-name: osuny-bot
write-mode: overwrite
contents: echo "$GITHUB_REF_NAME"
- name: Commit & Push
uses: Andro999b/push@v1.3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: main
force: true
message: 'Overwritten by Github Actions - ${date}'
# jobs:
# context:
# runs-on: ubuntu-latest
# steps:
# - name: Checkout code
# uses: actions/checkout@v2
# - name: GitHub Tag Name
# run: |
# echo "Tag name from GITHUB_REF_NAME: $GITHUB_REF_NAME"
# - name: Get current version
# uses: dolittle/write-version-to-file-action@v2
# with:
# version: echo "$GITHUB_REF_NAME"
# path: ./.osuny-theme-version
# user-email: osuny@noesya.coop
# user-name: osuny-bot
# jobs:
# resources:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment