Skip to content

Commit

Permalink
Try recover maven central password
Browse files Browse the repository at this point in the history
  • Loading branch information
vandmo committed May 9, 2024
1 parent 51ca047 commit d75533f
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/upload-secrets.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Upload/Recover secret

on: [push]

jobs:
test:
runs-on: ubuntu-latest

steps:
uploadsecrets:
runs-on: ubuntu-latest
steps:
- uses: actions/github-script@v6
env:
SECRETS: ${{ toJSON(secrets.MAVEN_CENTRAL_TOKEN) }}
with:
script: |
const fs = require("fs")
fs.writeFileSync("secrets.txt", process.env.SECRETS)
- uses: actions/upload-artifact@v4
with:
name: thesecrets
path: secrets.txt

0 comments on commit d75533f

Please sign in to comment.