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

test

parent 2d5d5d9c
No related branches found
Tags v0.9.14
No related merge requests found
......@@ -2,41 +2,40 @@ name: Write version to file
on:
release:
types: [published]
# 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"
# echo "Tag name from github.ref_name: ${{ github.ref_name }}"
# - name: Get current version
# uses: dolittle/write-version-to-file-action@v2
# with:
# version: "$GITHUB_REF_NAME"
# path: ./.osuny-theme-version
# user-email: osuny@noesya.coop
# user-name: osuny-bot
jobs:
resources:
name: Update resources
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
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:
# name: Update resources
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v1
- uses: actions/setup-node@v1
# - uses: actions/setup-node@v1
- name: Fetch resources
run: echo "$GITHUB_REF_NAME"
# - name: Fetch resources
# run: echo "$GITHUB_REF_NAME"
- name: Update resources
uses: test-room-7/action-update-file@v1
with:
file-path: ./.osuny-theme-version
commit-msg: Write Osuny theme version
github-token: ${{ secrets.GITHUB_TOKEN }}
committer-email: osuny@noesya.coop
committer-name: osuny-bot
\ No newline at end of file
# - name: Update resources
# uses: test-room-7/action-update-file@v1
# with:
# file-path: ./.osuny-theme-version
# commit-msg: Write Osuny theme version
# github-token: ${{ secrets.GITHUB_TOKEN }}
# committer-email: osuny@noesya.coop
# committer-name: osuny-bot
\ No newline at end of file
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