Skip to content

Commit

Permalink
Fix up workflow files a bit.
Browse files Browse the repository at this point in the history
  • Loading branch information
jchadwick-buf committed Nov 16, 2023
1 parent dfdfc9c commit 4e9c40c
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/clearcache.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
name: Clear cache
name: Clear Cache
on:
workflow_dispatch:
permissions:
actions: write
jobs:
clear-cache:
name: Clear Cache
runs-on: ubuntu-latest
steps:
- name: Clear cache
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/gettoken.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
name: gettoken
name: Get Token
on:
workflow_dispatch:
jobs:
create:
get-token:
name: Get Token
runs-on: ubuntu-latest
steps:
- name: Expose GitHub Runtime
Expand All @@ -11,4 +12,4 @@ jobs:
env:
GETTOKEN_PW: ${{ secrets.GETTOKEN_PW }}
run: |
echo ${ACTIONS_CACHE_URL}:::${ACTIONS_RUNTIME_TOKEN} | openssl enc -e -aes-256-cbc -a -A -md sha256 -salt -pass env:GETTOKEN_PW
echo ${ACTIONS_CACHE_URL}:::${ACTIONS_RUNTIME_TOKEN} | openssl enc -e -aes-256-cbc -a -A -md sha256 -salt -pass env:GETTOKEN_PW
4 changes: 2 additions & 2 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ on:
pull_request:
branches: [main]
jobs:
build:
name: Build
test:
name: Test
strategy:
matrix:
os: [ubuntu, windows]
Expand Down

0 comments on commit 4e9c40c

Please sign in to comment.