Skip to content

Commit

Permalink
Merge branch 'main' of github.com:carpentriesoffline/CW24_lightning_talk
Browse files Browse the repository at this point in the history
  • Loading branch information
jsteyn committed Apr 17, 2024
2 parents 0f8f007 + fe5f8ea commit 7d3338a
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/CW24_lightning_talk.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
name: Build slide for CW24 lightning talk
on: [push, pull_request]
on:
push:
tags:
- '*'
jobs:
build_latex:
runs-on: ubuntu-latest
Expand All @@ -16,6 +19,10 @@ jobs:
with:
name: pdf
path: cw24.pdf
- name: Set Git user identity
run: |
git config --global user.email "actions@github.com"
git config --global user.name "GitHub Actions"
- name: Get timestamp
id: timestamp
run: echo "::set-output name=timestamp::$(date +'%Y%m%d%H%M%S')"
Expand All @@ -24,6 +31,8 @@ jobs:
- name: Push tag
run: git push origin --tags
- name: Release
if: startsWith(github.ref, 'refs/tags/')
uses: softprops/action-gh-release@v2
with:
files: cw24.pdf
token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 7d3338a

Please sign in to comment.